From 98527ef0c67c0ce562b19a4e740e56f2778be2f0 Mon Sep 17 00:00:00 2001 From: David Graham Date: Wed, 13 Sep 2023 20:36:45 -0400 Subject: [PATCH] format --- dev/main.tf | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/dev/main.tf b/dev/main.tf index 8d3a609..b4f5052 100644 --- a/dev/main.tf +++ b/dev/main.tf @@ -23,8 +23,8 @@ provider "google" { # storage-component.googleapis.com # go to https://console.cloud.google.com/apis/dashboard to see the full list of enabled APIs module "apis" { - source = "../modules/gcp-apis" # using local modules until I can these are versioned in the main branch of the repo - project = var.project_id + source = "../modules/gcp-apis" # using local modules until I can these are versioned in the main branch of the repo + project = var.project_id services = [ "servicenetworking.googleapis.com", "sqladmin.googleapis.com", @@ -52,7 +52,7 @@ module "iam" { } module "client_artifact_repo" { - source = "../modules/registry" + source = "../modules/registry" # using local modules until I can these are versioned in the main branch of the repo repo = "client" region = var.region @@ -60,7 +60,7 @@ module "client_artifact_repo" { } module "server_artifact_repo" { - source = "../modules/registry" + source = "../modules/registry" # using local modules until I can these are versioned in the main branch of the repo repo = "server" region = var.region @@ -84,7 +84,7 @@ module "database" { project_id = var.project_id vpc = module.vpc.network # vpc = module.vpc.shared_vpc # uncomment if using shared vpc - depends_on = [module.apis] + depends_on = [module.apis] } module "frontend-service" { @@ -96,7 +96,7 @@ module "frontend-service" { environment = "dev" connector_cidr = "10.9.0.0/28" project = var.project_id - env = [ + env = [ { name = "VITE_API_URL" value = "https://${var.domain}/api" @@ -115,7 +115,7 @@ module "server-service" { port = "8080" environment = var.environment depends_on = [module.apis] - env = [ + env = [ { name = "DB_PORT" value = "5432"