From 7d4fd25ed6d71a2e2bb85328b60fa86bcc8aaaaa Mon Sep 17 00:00:00 2001 From: Colin Simmons Date: Fri, 1 Mar 2019 14:14:44 +0000 Subject: [PATCH] Add dependency to gcp terraform so it doesn't break Signed-off-by: Panagiotis Xynos --- resource/assets/gcp/infrastructure.tf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resource/assets/gcp/infrastructure.tf b/resource/assets/gcp/infrastructure.tf index 6f1777304..8be8f39cc 100644 --- a/resource/assets/gcp/infrastructure.tf +++ b/resource/assets/gcp/infrastructure.tf @@ -335,6 +335,8 @@ resource "google_sql_database_instance" "director" { database_version = "POSTGRES_9_6" region = "${var.region}" + depends_on = ["google_compute_instance.nat-instance"] + settings { tier = "${var.db_tier}" user_labels {