Skip to content

Commit

Permalink
Fix setting default maintenance exclusion in GKE
Browse files Browse the repository at this point in the history
  • Loading branch information
karagieseking committed Dec 9, 2024
1 parent c18de94 commit 0c77b85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google/_modules/gke/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ resource "google_container_cluster" "current" {
}

dynamic "maintenance_exclusion" {
for_each = var.maintenance_exclusion_start_time != null ? [1] : []
for_each = var.maintenance_exclusion_start_time != "" ? [1] : []

content {
start_time = var.maintenance_exclusion_start_time
Expand Down

0 comments on commit 0c77b85

Please sign in to comment.