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" {
74
74
}
75
75
76
76
dynamic "maintenance_exclusion" {
77
- for_each = var. maintenance_exclusion_start_time != null ? [1 ] : []
77
+ for_each = var. maintenance_exclusion_start_time != " " ? [1 ] : []
78
78
79
79
content {
80
80
start_time = var. maintenance_exclusion_start_time
Original file line number Diff line number Diff line change @@ -31,10 +31,10 @@ locals {
31
31
" 03:00" ,
32
32
)
33
33
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 )
38
38
39
39
remove_default_node_pool = lookup (local. cfg , " remove_default_node_pool" , true )
40
40
You can’t perform that action at this time.
0 commit comments