Skip to content

Commit 0a358ba

Browse files
committed
fix: removed role assignment that was causing deployment error
1 parent 14feed7 commit 0a358ba

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

infra/modules/patentsberta.bicep

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -90,16 +90,5 @@ resource patentsbertaApp 'Microsoft.App/containerApps@2023-05-01' = {
9090
}
9191
}
9292

93-
// Grant AcrPull permission to the container app's system-assigned identity
94-
resource acrPullRoleAssignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
95-
name: guid(containerRegistry.id, patentsbertaApp.id, 'b24988ac-6180-42a0-ab88-20f7382dd24c')
96-
scope: containerRegistry
97-
properties: {
98-
roleDefinitionId: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '7f951dda-4ed3-4680-a7ca-43fe172d538d') // AcrPull role
99-
principalId: patentsbertaApp.identity.principalId
100-
principalType: 'ServicePrincipal'
101-
}
102-
}
103-
10493
output endpoint string = 'https://${patentsbertaApp.properties.configuration.ingress.fqdn}'
10594
output name string = patentsbertaApp.name

0 commit comments

Comments
 (0)