From 602cf0ea2c570180e16a71f1efaa2ca4093de756 Mon Sep 17 00:00:00 2001 From: halprin Date: Fri, 26 Jan 2024 15:11:29 -0700 Subject: [PATCH] DB_USER needs to be dynamic based on the environment --- operations/template/app.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/operations/template/app.tf b/operations/template/app.tf index e7aaaf377..7d9f3cadc 100644 --- a/operations/template/app.tf +++ b/operations/template/app.tf @@ -39,7 +39,7 @@ resource "azurerm_linux_web_app" "api" { DB_URL = azurerm_postgresql_flexible_server.database.fqdn DB_PORT = "5432" DB_NAME = "postgres" - DB_USER = "cdcti-internal-api" + DB_USER = "cdcti-${var.environment}-api" DB_SSL = "require" }