Skip to content

Commit 43426bd

Browse files
committed
sub
1 parent 8eec120 commit 43426bd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/tofu/main.tf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,12 @@ resource "google_container_cluster" "primary" {
5656
private_cluster_config {
5757
enable_private_nodes = true
5858
private_endpoint_subnetwork = google_compute_subnetwork.subnet.self_link
59+
master_ipv4_cidr_block = "172.16.0.0/28"
5960
}
6061
ip_allocation_policy {
6162
cluster_ipv4_cidr_block = google_compute_subnetwork.subnet.ip_cidr_range
62-
cluster_secondary_range_name = google_compute_subnetwork.subnet.secondary_ip_range_name
63-
services_secondary_range_name = google_compute_subnetwork.subnets.services_secondary_range_name
63+
cluster_secondary_range_name = "pod-ranges"
64+
services_secondary_range_name = google_compute_subnetwork.subnet.secondary_ip_range.0.range_name
6465
stack_type = "IPV4_IPV6"
6566
}
6667
datapath_provider = "ADVANCED_DATAPATH"

0 commit comments

Comments
 (0)