diff --git a/bicep-examples/conditions/main.bicep b/bicep-examples/conditions/main.bicep index e9e8bf7..b593e64 100644 --- a/bicep-examples/conditions/main.bicep +++ b/bicep-examples/conditions/main.bicep @@ -44,7 +44,7 @@ output kvUri string = KeyVault.outputs.name module KeyVault2 'br/public:avm/res/key-vault/vault:0.6.2' = { name: '${uniqueString(deployment().name, location)}-kv' params: { - name: kvName + name: kvName2 location: location enablePurgeProtection: env == 'preprod' || env == 'prod' ? true : false enableSoftDelete: true @@ -52,4 +52,4 @@ module KeyVault2 'br/public:avm/res/key-vault/vault:0.6.2' = { enableRbacAuthorization: true sku: kvSku } -} \ No newline at end of file +}