Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Update builtInRoleNames format #2430

Closed
eriqua opened this issue Dec 11, 2022 · 0 comments · Fixed by #2431
Closed

[Feature Request]: Update builtInRoleNames format #2430

eriqua opened this issue Dec 11, 2022 · 0 comments · Fixed by #2431
Labels
enhancement New feature or request

Comments

@eriqua
Copy link
Contributor

eriqua commented Dec 11, 2022

Description

When the Bicep VSC extension is enabled, saving a nested_roleAssignments.bicep file results in adding a space between the parameters of the subscriptionResourceId() function used to calculate the roleID in the builtInRoleNames object variable.
Updating the list of roles with the Update-RoleAssignmentList utility, does not consider that space and changes the format back to subscriptionResourceId('Microsoft.Authorization/roleDefinitions','<roleID>')

Update the utility, in particular the Get-RoleAssignmentList utility, to comply with the right formatting and avoid unintended changes on files.

@eriqua eriqua added the enhancement New feature or request label Dec 11, 2022
@eriqua eriqua added this to Backlog Dec 11, 2022
@eriqua eriqua moved this to Needs triage in Backlog Dec 11, 2022
Repository owner moved this from Needs triage to Done in Backlog Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant