Skip to content

Commit a7832ff

Browse files
committed
add ga features
1 parent 45950ad commit a7832ff

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

autogen/main/cluster.tf.tmpl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,6 @@ resource "google_container_node_pool" "windows_pools" {
714714
}
715715
}
716716

717-
{% if beta_cluster %}
718717
dynamic "placement_policy" {
719718
for_each = length(lookup(each.value, "placement_policy", "")) > 0 ? [each.value] : []
720719
content {
@@ -733,7 +732,6 @@ resource "google_container_node_pool" "windows_pools" {
733732
{% endif %}
734733
}
735734
}
736-
{% endif %}
737735

738736
management {
739737
auto_repair = lookup(each.value, "auto_repair", true)

modules/private-cluster/cluster.tf

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -455,21 +455,6 @@ resource "google_container_node_pool" "pools" {
455455
}
456456
}
457457

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-
content {
468-
pod_range = lookup(network_config.value, "pod_range", null)
469-
enable_private_nodes = var.enable_private_nodes
470-
}
471-
}
472-
473458
management {
474459
auto_repair = lookup(each.value, "auto_repair", true)
475460
auto_upgrade = lookup(each.value, "auto_upgrade", local.default_auto_upgrade)

0 commit comments

Comments
 (0)