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.
1 parent 0c201c7 commit 62f725fCopy full SHA for 62f725f
0-bootstrap/modules/cb-private-pool/network.tf
@@ -218,6 +218,8 @@ resource "google_compute_address" "cloud_build_nat" {
218
name = "cloud-build-nat"
219
network_tier = "PREMIUM"
220
region = "us-central1"
221
+
222
+ depends_on = [module.peered_network]
223
}
224
225
resource "google_compute_instance" "vm-proxy" {
@@ -250,7 +252,10 @@ resource "google_compute_instance" "vm-proxy" {
250
252
scopes = ["cloud-platform"]
251
253
254
- depends_on = [resource.google_compute_router_nat.cb-nat]
255
+ depends_on = [
256
+ resource.google_compute_router_nat.cb-nat,
257
+ module.peered_network
258
+ ]
259
260
261
# This route will route packets to the NAT VM
0 commit comments