From 414028a8ee65bc16fb7ab335cca89426933f0d29 Mon Sep 17 00:00:00 2001 From: Andrew Dryga Date: Fri, 20 Oct 2023 00:38:27 -0600 Subject: [PATCH] Fix typos --- terraform/environments/production/gateways.tf | 2 +- terraform/environments/production/main.tf | 4 ++++ terraform/modules/gateway-app/outputs.tf | 4 ---- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/terraform/environments/production/gateways.tf b/terraform/environments/production/gateways.tf index d7eb042ef..ba3b67bbe 100644 --- a/terraform/environments/production/gateways.tf +++ b/terraform/environments/production/gateways.tf @@ -8,7 +8,7 @@ resource "google_compute_network" "gateways" { auto_create_subnetworks = false depends_on = [ - google_project_service.compute + module.api ] } diff --git a/terraform/environments/production/main.tf b/terraform/environments/production/main.tf index 4cb167431..c0b0df467 100644 --- a/terraform/environments/production/main.tf +++ b/terraform/environments/production/main.tf @@ -708,6 +708,10 @@ module "relays" { portal_websocket_url = "wss://api.${local.tld}" portal_token = var.relay_portal_token + + depends_on = [ + module.api + ] } resource "google_compute_firewall" "portal-ssh-ipv4" { diff --git a/terraform/modules/gateway-app/outputs.tf b/terraform/modules/gateway-app/outputs.tf index 1bad3bb9e..7a8385465 100644 --- a/terraform/modules/gateway-app/outputs.tf +++ b/terraform/modules/gateway-app/outputs.tf @@ -9,7 +9,3 @@ output "target_tags" { output "instances" { value = var.compute_instances } - -output "network" { - value = google_compute_network.network.self_link -}