Skip to content

Commit c8e3fb3

Browse files
committed
Upgrade all modules to use provider 6 of google
1 parent 44b0a05 commit c8e3fb3

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

modules/beta-private-cluster/cluster.tf

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -670,11 +670,12 @@ resource "google_container_node_pool" "pools" {
670670
}
671671
}
672672

673-
network_config {
674-
pod_range = lookup(network_config.value, "pod_range", null)
673+
dynamic "network_config" {
674+
for_each = [each.value]
675+
content {
676+
pod_range = lookup(each.value, "pod_range", null)
675677
enable_private_nodes = lookup(each.value, "enable_private_nodes", var.enable_private_nodes)
676-
677-
678+
}
678679
}
679680

680681
management {

0 commit comments

Comments
 (0)