From 0bb950f3649255a9b379885eceb04d5ee4752d57 Mon Sep 17 00:00:00 2001 From: marycrawford Date: Tue, 10 Dec 2024 23:30:38 -0800 Subject: [PATCH] update app_settings in the middleware --- ops/terraform/main.tf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ops/terraform/main.tf b/ops/terraform/main.tf index 6e4170f7..7fe5791d 100644 --- a/ops/terraform/main.tf +++ b/ops/terraform/main.tf @@ -73,12 +73,12 @@ module "middleware_api" { resource_group = data.azurerm_resource_group.rg.name app_subnet_id = module.networking.middlewaresubnet_id - postgres_password = module.vault.postgres_password - postgres_user = module.database.postgres_user - postgres_db_name = module.database.postgres_db_name - app_settings = { - WEBSITES_PORT = "8081" + WEBSITES_PORT = "8081" + POSTGRES_HOST = module.database.postgres_fqdn + POSTGRES_DB = module.database.postgres_db_name + POSTGRES_USER = module.database.postgres_user + POSTGRES_PASSWORD = module.vault.postgres_password } lb_subnet_id = module.networking.lbsubnet_id