We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23628ac commit be911c7Copy full SHA for be911c7
{{cookiecutter.__src_folder_name}}/infra/main.bicep
@@ -94,12 +94,15 @@ module keyVault 'br/public:avm/res/key-vault/vault:0.6.2' = {
94
nbf: 0
95
}
96
}]
97
- roleAssignments: [
98
- {
99
- principalId: web.outputs.SERVICE_WEB_IDENTITY_PRINCIPAL_ID
100
- roleDefinitionIdOrName: 'Key Vault Secrets User'
101
- }
102
- ]
+
+ }
+}
+module roleAssignment 'core/security/role.bicep' = {
+ scope: resourceGroup
103
+ params: {
104
+ principalId: web.outputs.SERVICE_WEB_IDENTITY_PRINCIPAL_ID
105
+ roleDefinitionId: '4633458b-17de-408a-b874-0445c86b69e6'
106
107
108
0 commit comments