Skip to content

Commit 42ce927

Browse files
committed
fix: allow null enable_gcfs setting in defined nodepools
Fixes #2100 This basically replicates the fixes from #2093, #2095, but at the scope of implicitly defined nodepools.
1 parent 0733908 commit 42ce927

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cluster.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ resource "google_container_node_pool" "pools" {
593593
min_cpu_platform = lookup(each.value, "min_cpu_platform", "")
594594
enable_confidential_storage = lookup(each.value, "enable_confidential_storage", false)
595595
dynamic "gcfs_config" {
596-
for_each = lookup(each.value, "enable_gcfs", false) ? [true] : [false]
596+
for_each = lookup(each.value, "enable_gcfs", null ) !=null ? [each.value.enable_gcfs] : []
597597
content {
598598
enabled = gcfs_config.value
599599
}

0 commit comments

Comments
 (0)