Access the API endpiont over internal interfaces

This commit is contained in:
Ryan Ahearn
2022-09-20 15:30:54 -04:00
parent 51fb5bce98
commit 109bc72d4b
8 changed files with 88 additions and 3 deletions

View File

@@ -30,7 +30,24 @@ module "logo_upload_bucket" {
s3_service_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"
#
# cf_user = var.cf_user
# cf_password = var.cf_password
# cf_org_name = local.cf_org_name
# cf_space_name = local.cf_space_name
# source_app_name = "${local.app_name}-${local.env}"
# destination_app_name = "notifications-api-${local.env}"
# }
# ##########################################################################
# The following lines need to be commented out for the initial `terraform apply`
# It can be re-enabled after:
# 1) the app has first been deployed

View File

@@ -1,2 +1,5 @@
variable "cf_password" {}
variable "cf_password" {
type = string
sensitive = true
}
variable "cf_user" {}