Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Commit ebb3c63

Browse files
authored
Update python function name string to manage confict after deleting the function app. (#1808)
1 parent 3869352 commit ebb3c63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/deployment/azuredeploy.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ module eventGrid 'bicep-templates/event-grid.bicep' = {
164164

165165
// try to make role assignments to deploy as late as possible in order to has principalId ready
166166
resource roleAssigmentsPy 'Microsoft.Authorization/roleAssignments@2020-10-01-preview' = [for r in roleAssignmentsParams: {
167-
name: guid('${resourceGroup().id}${r.suffix}')
167+
name: guid('${resourceGroup().id}${r.suffix}-python')
168168
properties: {
169169
roleDefinitionId: '/subscriptions/${subscription().subscriptionId}/providers/Microsoft.Authorization/roleDefinitions/${r.role}'
170170
principalId: pythonFunction.outputs.principalId

0 commit comments

Comments
 (0)