We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 493149d commit 45950adCopy full SHA for 45950ad
modules/private-cluster/cluster.tf
@@ -455,6 +455,20 @@ resource "google_container_node_pool" "pools" {
455
}
456
457
458
+ dynamic "placement_policy" {
459
+ for_each = length(lookup(each.value, "placement_policy", "")) > 0 ? [each.value] : []
460
+ content {
461
+ type = lookup(placement_policy.value, "placement_policy", null)
462
+ }
463
464
+
465
+ dynamic "network_config" {
466
+ for_each = length(lookup(each.value, "pod_range", "")) > 0 ? [each.value] : []
467
468
+ pod_range = lookup(network_config.value, "pod_range", null)
469
+ enable_private_nodes = var.enable_private_nodes
470
471
472
473
management {
474
auto_repair = lookup(each.value, "auto_repair", true)
0 commit comments