Skip to content

Commit 692542e

Browse files
authored
Merge pull request #36 from ArctiqTeam/master
SVPC depends on VPC Config
2 parents fc7d126 + 0762ea8 commit 692542e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ resource "google_compute_network" "network" {
3030
resource "google_compute_shared_vpc_host_project" "shared_vpc_host" {
3131
count = "${var.shared_vpc_host == "true" ? 1 : 0}"
3232
project = "${var.project_id}"
33+
depends_on = ["google_compute_network.network"]
34+
3335
}
3436

3537
/******************************************

0 commit comments

Comments
 (0)