From 3b0f0b751d5a722ff8f71e584c6966d76cb84d1d Mon Sep 17 00:00:00 2001 From: Russell Day Date: Thu, 25 Apr 2024 18:48:49 +0100 Subject: [PATCH] Fix connection string mistake --- terraform/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/main.tf b/terraform/main.tf index b41d095..3ddb7f7 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -20,7 +20,7 @@ resource "random_password" "admin_api_key" { } locals { - db_connection_string = "Server=tcp:${local.sql_server_name}.database.windows.net,1433;Initial Catalog=pocketddd-dev-sqldatabase;Persist Security Info=False;User ID=${random_string.admin_login.result};Password=${random_password.admin_password.result};MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;" + db_connection_string = "Server=tcp:${local.sql_server_name}.database.windows.net,1433;Initial Catalog=pocketddd-${var.env}-sqldatabase;Persist Security Info=False;User ID=${random_string.admin_login.result};Password=${random_password.admin_password.result};MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;" } resource "azurerm_key_vault" "key_vault" {