Skip to content

Commit 4a6ed7a

Browse files
Really fix enable_l4_ilb_subsetting this time around.
1 parent 5339e13 commit 4a6ed7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tf/service_cluster/container.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ resource "google_container_cluster" "main" {
6060
private_ipv6_google_access = var.private_ipv6_google_access
6161

6262
# Seems like backend enforces subsetting on dual stack
63-
enable_l4_ilb_subsetting = var.ip_allocation_policy == "IPV4_IPV6"
63+
enable_l4_ilb_subsetting = var.ip_allocation_policy == null ? false : var.ip_allocation_policy.stack_type == "IPV4_IPV6"
6464

6565
lifecycle {
6666
ignore_changes = [

0 commit comments

Comments
 (0)