Skip to content

Commit d3aa8d2

Browse files
authored
network outputs for auto / byo now fixed (#91)
1 parent 751cccc commit d3aa8d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/network/outputs.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ output "network_self_link" {
88

99
output subnets {
1010
value = {
11-
gke : var.create_subnets ? element(coalescelist(google_compute_subnetwork.gke_subnet,[]),0) : data.google_compute_subnetwork.gke_subnet.0
12-
misc: var.create_subnets ? element(coalescelist(google_compute_subnetwork.misc_subnet,[]),0) : data.google_compute_subnetwork.misc_subnet.0
11+
gke : var.create_subnets ? google_compute_subnetwork.gke_subnet.0 : data.google_compute_subnetwork.gke_subnet.0
12+
misc : var.create_subnets ? google_compute_subnetwork.misc_subnet.0 : data.google_compute_subnetwork.misc_subnet.0
1313
}
1414
}

0 commit comments

Comments
 (0)