Skip to content

Commit f2b8fea

Browse files
https://github.com/Azure/bicep/issues/3750
1 parent f1a9718 commit f2b8fea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bicep/platformKeyVault.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ module nugetKeyVaultAccessPolicy 'modules/keyVaultAccessPolicy.bicep' = if (parE
7373
scope: resourceGroup(keyVaultResourceGroup.name)
7474

7575
params: {
76-
parKeyVaultName: nugetKeyVault.outputs.outKeyVaultName
76+
parKeyVaultName: (parEnvironment == 'prd') ? nugetKeyVault.outputs.outKeyVaultName : ''
7777
parPrincipalId: parDeployPrincipalId
7878
parSecretsPermissions: [ 'get', 'list' ]
7979
}

0 commit comments

Comments
 (0)