diff --git a/terraform/demo/main.tf b/terraform/demo/main.tf index 4223e29e4..d0b8ef92c 100644 --- a/terraform/demo/main.tf +++ b/terraform/demo/main.tf @@ -34,12 +34,6 @@ module "logo_upload_bucket" { name = "${local.app_name}-logo-upload-bucket-${local.env}" } -# ########################################################################## -# The following lines need to be commented out for the initial `terraform apply` -# It can be re-enabled after: -# 1) the api app has first been deployed -# 2) the admin app has first been deployed -########################################################################### module "api_network_route" { source = "../shared/container_networking" diff --git a/terraform/production/main.tf b/terraform/production/main.tf index 771558ce2..9e02b3272 100644 --- a/terraform/production/main.tf +++ b/terraform/production/main.tf @@ -34,12 +34,6 @@ module "logo_upload_bucket" { name = "${local.app_name}-logo-upload-bucket-${local.env}" } -# ########################################################################## -# The following lines need to be commented out for the initial `terraform apply` -# It can be re-enabled after: -# 1) the api app has first been deployed -# 2) the admin app has first been deployed -########################################################################### module "api_network_route" { source = "../shared/container_networking" diff --git a/terraform/sandbox/main.tf b/terraform/sandbox/main.tf index 838d86aa8..76495b4c9 100644 --- a/terraform/sandbox/main.tf +++ b/terraform/sandbox/main.tf @@ -34,13 +34,7 @@ module "logo_upload_bucket" { name = "${local.app_name}-logo-upload-bucket-${local.env}" } -# ########################################################################## -# Connection the allows notify-admin-sandbox and notify-api-sandbox to talk. -# https://cloud.gov/docs/management/container-to-container/ -# Terraform block will fail to apply unless both apps exist in Cloud.gov. -# See also: /docs/all.md#api-request-failed -########################################################################### -module "api_network_route" { +module "api_network_route" { # API and Admin apps must both exist in Cloud source = "../shared/container_networking" cf_org_name = local.cf_org_name diff --git a/terraform/staging/main.tf b/terraform/staging/main.tf index 99ef28590..87c1e64dd 100644 --- a/terraform/staging/main.tf +++ b/terraform/staging/main.tf @@ -34,12 +34,6 @@ module "logo_upload_bucket" { name = "${local.app_name}-logo-upload-bucket-${local.env}" } -# ########################################################################## -# The following lines need to be commented out for the initial `terraform apply` -# It can be re-enabled after: -# 1) the api app has first been deployed -# 2) the admin app has first been deployed -########################################################################### module "api_network_route" { source = "../shared/container_networking"