Skip to content

Commit 67b7449

Browse files
committed
fix
1 parent 5c4d97f commit 67b7449

File tree

1 file changed

+4
-4
lines changed
  • terraform/nowcasting/development

1 file changed

+4
-4
lines changed

terraform/nowcasting/development/main.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -324,16 +324,16 @@ module "data_platform_api" {
324324
module "primaries-api" {
325325
source = "../../modules/services/eb_app"
326326
domain = local.domain
327-
aws-region = local.region
327+
aws-region = var.region
328328
aws-environment = local.environment
329-
aws-subnet_id = module.network.public_subnet_ids[0]
330-
aws-vpc_id = module.network.vpc_id
329+
aws-subnet_id = module.networking.public_subnet_ids[0]
330+
aws-vpc_id = module.networking.vpc_id
331331
container-command = ["quartzapi"]
332332
container-env_vars = [
333333
{ "name" : "SOURCE", "value" : "dataplatform" },
334334
{ "name" : "ROUTERS", "value" : "substations" },
335335
{ "name" : "PORT", "value" : "80" },
336-
{ "name" : "DB_URL", "value" : module.postgres-rds.default_db_connection_url },
336+
{ "name" : "DB_URL", "value" : module.database.forecast-database-secret-url },
337337
{ "name" : "AUTH0_DOMAIN", "value" : var.auth_domain },
338338
{ "name" : "AUTH0_API_AUDIENCE", "value" : var.auth_api_audience },
339339
{ "name" : "SENTRY_DSN", "value" : var.sentry_dsn_api },

0 commit comments

Comments
 (0)