Skip to content

Commit

Permalink
Update roleAssignment name with storage account
Browse files Browse the repository at this point in the history
  • Loading branch information
tkapa committed Sep 27, 2024
1 parent f79b18a commit b7c3920
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 @@ -92,7 +92,7 @@ resource managedIdentity 'Microsoft.ManagedIdentity/userAssignedIdentities@2018-

resource roleAssignment 'Microsoft.Authorization/roleAssignments@2020-04-01-preview' = {
scope: storageAccount
name: guid(resourceGroup().id, managedIdentity.id, contributorRoleDefinition.id)
name: guid(resourceGroup().id, managedIdentity.id, contributorRoleDefinition.id, storageAccount.id)
properties: {
roleDefinitionId: contributorRoleDefinition.id
principalId: managedIdentity.properties.principalId
Expand Down

0 comments on commit b7c3920

Please sign in to comment.