[AVM Module Issue]: avm/ptn/authorization/role-assignment error when using ID for 'Resource Policy Contributor' on management group level assignment #3933
Labels
Class: Pattern Module 📦
This is a pattern module
Needs: Immediate Attention ‼️
Immediate attention of module owner / AVM team is needed
Needs: Triage 🔍
Maintainers need to triage still
Status: Response Overdue 🚩
When an issue/PR has not been responded to for X amount of days
Type: AVM 🅰️ ✌️ Ⓜ️
This is an AVM related issue
Type: Bug 🐛
Something isn't working
Check for previous/existing GitHub issues
Issue Type?
Bug
Module Name
avm/ptn/authorization/role-assignment
(Optional) Module Version
No response
Description
When using the role assignment on management group level with role ID we get errors stating wrong format of parameters and no other debug message is available.
I found this:
something missing on line 46 of https://github.com/Azure/bicep-registry-modules/blob/main/avm/ptn/authorization/role-assignment/modules/management-group.bicep
Using the role name Resource Policy Contributor' the module works, but with the ID it blocks with error.
(Optional) Correlation Id
No response
The text was updated successfully, but these errors were encountered: