Bicep Module Documentation
| Property | Value | Description |
|---|---|---|
| principalId (required) | string | The principal ID |
| roleDefinitionId (required) | string | The role definition ID, data file can be used for this |
| condition | string | Condition on the role assignment |
| conditionVersion | string | Version of the condition. Currently the only accepted value is "2.0" |
| delegatedManagedIdentityResourceId | string | Id of the delegated managed identity resource |
| description | string | Description of role assignment |
module roleAssignment 'ts/ArxusModules:role-assignment:3.1.1' = {
params: {
resourceId: '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-we-prd-app/providers/Microsoft.Storage/storageAccounts/stweprdapp'
resourceObject: {
principalId: '00000000-0000-0000-0000-000000000000'
roleDefinitionId: 'ba92f5b4-2d11-453d-a403-e96b0029c9fe' // Storage Blob Data Contributor
}
}
}