We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 66ceb0a + f70e583 commit c04bdd3Copy full SHA for c04bdd3
main.tf
@@ -59,11 +59,10 @@ resource "google_compute_subnetwork" "subnetwork" {
59
}
60
61
data "google_compute_subnetwork" "created_subnets" {
62
- count = length(var.subnets)
63
- name = element(google_compute_subnetwork.subnetwork.*.name, count.index)
64
- region = element(google_compute_subnetwork.subnetwork.*.region, count.index)
65
- project = var.project_id
66
- depends_on = [google_compute_subnetwork.subnetwork]
+ count = length(var.subnets)
+ name = element(google_compute_subnetwork.subnetwork.*.name, count.index)
+ region = element(google_compute_subnetwork.subnetwork.*.region, count.index)
+ project = var.project_id
67
68
69
/******************************************
0 commit comments