mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-23 06:38:50 +00:00
Update python function name string to manage confict after deleting the function app. (#1808)
This commit is contained in:
@ -164,7 +164,7 @@ module eventGrid 'bicep-templates/event-grid.bicep' = {
|
|||||||
|
|
||||||
// try to make role assignments to deploy as late as possible in order to has principalId ready
|
// try to make role assignments to deploy as late as possible in order to has principalId ready
|
||||||
resource roleAssigmentsPy 'Microsoft.Authorization/roleAssignments@2020-10-01-preview' = [for r in roleAssignmentsParams: {
|
resource roleAssigmentsPy 'Microsoft.Authorization/roleAssignments@2020-10-01-preview' = [for r in roleAssignmentsParams: {
|
||||||
name: guid('${resourceGroup().id}${r.suffix}')
|
name: guid('${resourceGroup().id}${r.suffix}-python')
|
||||||
properties: {
|
properties: {
|
||||||
roleDefinitionId: '/subscriptions/${subscription().subscriptionId}/providers/Microsoft.Authorization/roleDefinitions/${r.role}'
|
roleDefinitionId: '/subscriptions/${subscription().subscriptionId}/providers/Microsoft.Authorization/roleDefinitions/${r.role}'
|
||||||
principalId: pythonFunction.outputs.principalId
|
principalId: pythonFunction.outputs.principalId
|
||||||
|
Reference in New Issue
Block a user