Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgraham4401 committed Sep 14, 2023
1 parent a6f3da7 commit 98527ef
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions dev/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -52,15 +52,15 @@ 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
depends_on = [module.apis]
}

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
Expand All @@ -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" {
Expand All @@ -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"
Expand All @@ -115,7 +115,7 @@ module "server-service" {
port = "8080"
environment = var.environment
depends_on = [module.apis]
env = [
env = [
{
name = "DB_PORT"
value = "5432"
Expand Down

0 comments on commit 98527ef

Please sign in to comment.