Skip to content

Commit fcba5ab

Browse files
yliaogRooBarsic
authored andcommitted
added enum UPGRADE_INFO_EVENT for notification filter (GoogleCloudPlatform#13174)
1 parent 4e7ac93 commit fcba5ab

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

mmv1/third_party/terraform/services/container/resource_container_cluster.go.tmpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -1364,10 +1364,10 @@ func ResourceContainerCluster() *schema.Resource {
13641364
"event_type": {
13651365
Type: schema.TypeList,
13661366
Required: true,
1367-
Description: `Can be used to filter what notifications are sent. Valid values include include UPGRADE_AVAILABLE_EVENT, UPGRADE_EVENT and SECURITY_BULLETIN_EVENT`,
1367+
Description: `Can be used to filter what notifications are sent. Valid values include include UPGRADE_AVAILABLE_EVENT, UPGRADE_EVENT, SECURITY_BULLETIN_EVENT, and UPGRADE_INFO_EVENT`,
13681368
Elem: &schema.Schema{
13691369
Type: schema.TypeString,
1370-
ValidateFunc: validation.StringInSlice([]string{"UPGRADE_AVAILABLE_EVENT", "UPGRADE_EVENT", "SECURITY_BULLETIN_EVENT"}, false),
1370+
ValidateFunc: validation.StringInSlice([]string{"UPGRADE_AVAILABLE_EVENT", "UPGRADE_EVENT", "SECURITY_BULLETIN_EVENT", "UPGRADE_INFO_EVENT"}, false),
13711371
},
13721372
},
13731373
},

mmv1/third_party/terraform/services/container/resource_container_cluster_migratev1.go.tmpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -1055,10 +1055,10 @@ func resourceContainerClusterResourceV1() *schema.Resource {
10551055
"event_type": {
10561056
Type: schema.TypeList,
10571057
Required: true,
1058-
Description: `Can be used to filter what notifications are sent. Valid values include include UPGRADE_AVAILABLE_EVENT, UPGRADE_EVENT and SECURITY_BULLETIN_EVENT`,
1058+
Description: `Can be used to filter what notifications are sent. Valid values include include UPGRADE_AVAILABLE_EVENT, UPGRADE_EVENT, SECURITY_BULLETIN_EVENT and UPGRADE_INFO_EVENT`,
10591059
Elem: &schema.Schema{
10601060
Type: schema.TypeString,
1061-
ValidateFunc: validation.StringInSlice([]string{"UPGRADE_AVAILABLE_EVENT", "UPGRADE_EVENT", "SECURITY_BULLETIN_EVENT"}, false),
1061+
ValidateFunc: validation.StringInSlice([]string{"UPGRADE_AVAILABLE_EVENT", "UPGRADE_EVENT", "SECURITY_BULLETIN_EVENT", "UPGRADE_INFO_EVENT"}, false),
10621062
},
10631063
},
10641064
},

mmv1/third_party/terraform/website/docs/r/container_cluster.html.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -1174,7 +1174,7 @@ notification_config {
11741174

11751175
<a name="nested_notification_filter"></a> The `filter` block supports:
11761176

1177-
* `event_type` (Optional) - Can be used to filter what notifications are sent. Accepted values are `UPGRADE_AVAILABLE_EVENT`, `UPGRADE_EVENT` and `SECURITY_BULLETIN_EVENT`. See [Filtering notifications](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-notifications#filtering) for more details.
1177+
* `event_type` (Optional) - Can be used to filter what notifications are sent. Accepted values are `UPGRADE_AVAILABLE_EVENT`, `UPGRADE_EVENT`, `SECURITY_BULLETIN_EVENT` and `UPGRADE_INFO_EVENT`. See [Filtering notifications](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-notifications#filtering) for more details.
11781178

11791179
<a name="nested_confidential_nodes"></a> The `confidential_nodes` block supports:
11801180

0 commit comments

Comments
 (0)