mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
re add api_network_route with new provider
This commit is contained in:
@@ -44,13 +44,22 @@ module "logo_upload_bucket" {
|
|||||||
name = "${local.app_name}-logo-upload-bucket-${local.env}"
|
name = "${local.app_name}-logo-upload-bucket-${local.env}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
module "api_network_route" {
|
module "api_network_route" {
|
||||||
source = "../shared/container_networking"
|
source = "../shared/container_networking"
|
||||||
providers = {
|
|
||||||
cloudfoundry = cloudfoundry.official
|
cf_org_name = local.cf_org_name
|
||||||
}
|
cf_space_name = local.cf_space_name
|
||||||
cf_space_id = data.cloudfoundry_space.space.id
|
|
||||||
source_app_name = "${local.app_name}-${local.env}"
|
source_app_name = "${local.app_name}-${local.env}"
|
||||||
destination_app_name = "notify-api-${local.env}"
|
destination_app_name = "notify-api-${local.env}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Looks like we have to upgrade 'shared' before we can do this
|
||||||
|
# module "api_network_route_new" {
|
||||||
|
# source = "../shared/container_networking"
|
||||||
|
# providers = {
|
||||||
|
# cloudfoundry = cloudfoundry.official
|
||||||
|
# }
|
||||||
|
# cf_space_id = data.cloudfoundry_space.space.id
|
||||||
|
# source_app_name = "${local.app_name}-${local.env}"
|
||||||
|
# destination_app_name = "notify-api-${local.env}"
|
||||||
|
# }
|
||||||
|
|||||||
Reference in New Issue
Block a user