diff --git a/tests/tofu/main.tf b/tests/tofu/main.tf index 083b11810..acdb45d38 100644 --- a/tests/tofu/main.tf +++ b/tests/tofu/main.tf @@ -55,14 +55,10 @@ resource "google_container_cluster" "primary" { private_cluster_config { enable_private_nodes = true - # private_endpoint_subnetwork = google_compute_subnetwork.subnet.self_link - master_ipv4_cidr_block = "172.16.0.0/28" + private_endpoint_subnetwork = google_compute_subnetwork.subnet.self_link + # master_ipv4_cidr_block = "172.16.0.0/28" } - ip_allocation_policy { - # cluster_ipv4_cidr_block = google_compute_subnetwork.subnet.ip_cidr_range - stack_type = "IPV4_IPV6" - } - datapath_provider = "ADVANCED_DATAPATH" + ip_allocation_policy {} } resource "google_container_node_pool" "primary_nodes" { diff --git a/tests/tofu/network.tf b/tests/tofu/network.tf index 7649616bd..5f45c3a8c 100644 --- a/tests/tofu/network.tf +++ b/tests/tofu/network.tf @@ -9,8 +9,6 @@ resource "google_compute_subnetwork" "subnet" { network = google_compute_network.vpc.self_link ip_cidr_range = "10.10.0.0/24" private_ip_google_access = true - stack_type = "IPV4_IPV6" - ipv6_access_type = "EXTERNAL" } resource "google_compute_router" "router" {