From ac0eee628a93c39f78a501147a1b33ae39f9bb66 Mon Sep 17 00:00:00 2001 From: Nicolas Lykke Iversen Date: Fri, 12 Jul 2024 12:16:22 +0200 Subject: [PATCH] chore: use environment() for key vault dns --- infra/main.bicep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/main.bicep b/infra/main.bicep index 24208e5..c53a44a 100644 --- a/infra/main.bicep +++ b/infra/main.bicep @@ -83,7 +83,7 @@ resource appServiceApp 'Microsoft.Web/sites@2022-03-01' = { } { name: 'AzureAd__ClientSecret' - value: '@Microsoft.KeyVault(SecretUri=https://todo-app-rbqkyp2g5zxmq.vault.azure.net/secrets/ClientSecret/)' + value: '@Microsoft.KeyVault(SecretUri=https://todo-app-rbqkyp2g5zxmq${az.environment().suffixes.keyvaultDns}/secrets/ClientSecret/)' } ] }