File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ resource "google_container_cluster" "current" {
7474 }
7575
7676 dynamic "maintenance_exclusion" {
77- for_each = var. maintenance_exclusion_start_time != null ? [1 ] : []
77+ for_each = var. maintenance_exclusion_start_time != " " ? [1 ] : []
7878
7979 content {
8080 start_time = var. maintenance_exclusion_start_time
Original file line number Diff line number Diff line change @@ -31,10 +31,10 @@ locals {
3131 " 03:00" ,
3232 )
3333
34- cluster_maintenance_exclusion_start_time = lookup (local. cfg , " cluster_maintenance_exclusion_start_time" , " " )
35- cluster_maintenance_exclusion_end_time = lookup (local. cfg , " cluster_maintenance_exclusion_end_time" , " " )
36- cluster_maintenance_exclusion_name = lookup (local. cfg , " cluster_maintenance_exclusion_name" , " " )
37- cluster_maintenance_exclusion_scope = lookup (local. cfg , " cluster_maintenance_exclusion_scope" , " " )
34+ cluster_maintenance_exclusion_start_time = lookup (local. cfg , " cluster_maintenance_exclusion_start_time" , null )
35+ cluster_maintenance_exclusion_end_time = lookup (local. cfg , " cluster_maintenance_exclusion_end_time" , null )
36+ cluster_maintenance_exclusion_name = lookup (local. cfg , " cluster_maintenance_exclusion_name" , null )
37+ cluster_maintenance_exclusion_scope = lookup (local. cfg , " cluster_maintenance_exclusion_scope" , null )
3838
3939 remove_default_node_pool = lookup (local. cfg , " remove_default_node_pool" , true )
4040
You can’t perform that action at this time.
0 commit comments