Skip to content

Commit

Permalink
increase maintenance exclusion limit to 20 (#8442) (#5947)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician authored Jul 25, 2023
1 parent 51b3d09 commit 33e3efe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .changelog/8442.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
container: allowed user to set up to 20 maintenance exclusions for `google_container_cluster` resource
```
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,7 @@ func ResourceContainerCluster() *schema.Resource {
"maintenance_exclusion": {
Type: schema.TypeSet,
Optional: true,
MaxItems: 3,
MaxItems: 20,
Description: `Exceptions to maintenance window. Non-emergency maintenance should not occur in these windows.`,
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/container_cluster.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ maintenance_policy {
}
```

* `maintenance_exclusion` - Exceptions to maintenance window. Non-emergency maintenance should not occur in these windows. A cluster can have up to three maintenance exclusions at a time [Maintenance Window and Exclusions](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions)
* `maintenance_exclusion` - Exceptions to maintenance window. Non-emergency maintenance should not occur in these windows. A cluster can have up to 20 maintenance exclusions at a time [Maintenance Window and Exclusions](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions)

<a name="nested_maintenance_exclusion"></a>The `maintenance_exclusion` block supports:
* `exclusion_options` - (Optional) MaintenanceExclusionOptions provides maintenance exclusion related options.
Expand Down

0 comments on commit 33e3efe

Please sign in to comment.