Skip to content

Commit 7ac18c8

Browse files
authored
Base role assignment id on its components (#8247)
1 parent ffbb204 commit 7ac18c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/pipeline-witness/infrastructure/bicep/logsResourceGroup.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ resource eventHubsDataReceiverRoleDefinition 'Microsoft.Authorization/roleDefini
292292
}
293293

294294
resource kustoEventHubsAssignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
295-
name: guid(blobContributorRoleDefinition.id, kustoClusterName, eventHubNamespace.id)
295+
name: guid(eventHubsDataReceiverRoleDefinition.id, kustoClusterName, eventHubNamespace.id)
296296
scope: eventHubNamespace
297297
properties:{
298298
principalId: kustoCluster.identity.principalId

0 commit comments

Comments
 (0)