Skip to content

Commit

Permalink
Align mgmt deployment names (#721)
Browse files Browse the repository at this point in the history
Co-authored-by: Erika Gressi <erikag.microsoft.com>
  • Loading branch information
eriqua authored Dec 4, 2021
1 parent fa7b4e5 commit 64ed49c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arm/Microsoft.Management/managementGroups/deploy.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ resource managementGroup 'Microsoft.Management/managementGroups@2021-04-01' = {
}

module managementGroup_rbac '.bicep/nested_rbac.bicep' = [for (roleAssignment, index) in roleAssignments: {
name: '${deployment().name}-rbac-${index}'
name: '${uniqueString(deployment().name)}-ManagementGroup-Rbac-${index}'
params: {
principalIds: roleAssignment.principalIds
roleDefinitionIdOrName: roleAssignment.roleDefinitionIdOrName
Expand Down

0 comments on commit 64ed49c

Please # to comment.