Skip to content

Commit

Permalink
chore: use environment() for key vault dns
Browse files Browse the repository at this point in the history
  • Loading branch information
nlykkei committed Jul 12, 2024
1 parent 8a3a3f3 commit ac0eee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infra/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -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/)'
}
]
}
Expand Down

0 comments on commit ac0eee6

Please sign in to comment.