Skip to content

Commit 58db583

Browse files
add blob content contribute role to backend (Azure-Samples#206)
## Purpose <!-- Describe the intention of the changes being proposed. What problem does it solve or functionality does it add? --> * ... ## Does this introduce a breaking change? <!-- Mark one with an "x". --> ``` [ ] Yes [ ] No ``` ## Pull Request Type What kind of change does this Pull Request introduce? <!-- Please check the one that applies to this PR using "x". --> ``` [ ] Bugfix [ ] Feature [ ] Code style update (formatting, local variables) [ ] Refactoring (no functional changes, no api changes) [ ] Documentation content changes [ ] Other... Please describe: ``` ## How to Test * Get the code ``` git clone [repo-address] cd [repo-name] git checkout [branch-name] npm install ``` * Test the code <!-- Add steps to run the tests suite and/or manually test --> ``` ``` ## What to Check Verify that the following are valid * ... ## Other Information <!-- Add any other helpful information that may be needed here. -->
1 parent cbe158e commit 58db583

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

infra/main.bicep

+10
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,16 @@ module storageRoleBackend 'core/security/role.bicep' = {
466466
}
467467
}
468468

469+
module storageContribRoleBackend 'core/security/role.bicep' = {
470+
scope: storageResourceGroup
471+
name: 'storage-contribrole-backend'
472+
params: {
473+
principalId: web.outputs.SERVICE_WEB_IDENTITY_PRINCIPAL_ID
474+
roleDefinitionId: 'ba92f5b4-2d11-453d-a403-e96b0029c9fe'
475+
principalType: 'ServicePrincipal'
476+
}
477+
}
478+
469479
module searchRoleBackend 'core/security/role.bicep' = {
470480
scope: searchServiceResourceGroup
471481
name: 'search-role-backend'

0 commit comments

Comments
 (0)