Skip to content

Commit 0c77b85

Browse files
committed
Fix setting default maintenance exclusion in GKE
1 parent c18de94 commit 0c77b85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

google/_modules/gke/cluster.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)