Skip to content

Commit 9366adc

Browse files
committed
Role to push files to SA added (SCRoleUser)
1 parent b55700c commit 9366adc

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

deploy/aks/infra/main.bicep

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,15 @@ module eventGridContributorRoleAKS '../../shared/security/role.bicep' = {
357357
}
358358
}
359359

360-
360+
module storageContribRoleUser '../../shared/security/role.bicep' = {
361+
scope: resourceGroup
362+
name: 'storage-contribrole-user'
363+
params: {
364+
principalId: principalId
365+
roleDefinitionId: 'ba92f5b4-2d11-453d-a403-e96b0029c9fe'
366+
principalType: 'User'
367+
}
368+
}
361369

362370
output AZURE_LOCATION string = location
363371
output AZURE_TENANT_ID string = tenant().tenantId

0 commit comments

Comments
 (0)