From bf55a3811db4131bd68e402af912bd18908f23e2 Mon Sep 17 00:00:00 2001 From: Sandipan Dey Date: Sat, 16 Jul 2022 13:45:51 +0530 Subject: [PATCH] chore: bastion to depend on router nat explicitly (#65) --- modules/inception/gcp/bastion.tf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/inception/gcp/bastion.tf b/modules/inception/gcp/bastion.tf index 7b659258..31eb549b 100644 --- a/modules/inception/gcp/bastion.tf +++ b/modules/inception/gcp/bastion.tf @@ -50,6 +50,10 @@ resource "google_compute_instance" "bastion" { lnd_version : local.lnd_version bos_version : local.bos_version }) + + depends_on = [ + google_compute_router_nat.main + ] } data "google_iam_policy" "bastion" {