-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
azurerm_role_assignment
- Support scope to be /providers/Microsoft.Marketplace
#18439
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ms-zhenhua - could we update the docs & add that link and an example powershell of how to grant permissions to a SP?
Hi @katbyte, thank you for reviewing. I have updated the document with the related link which contains the information of how to grant permissions to different identities by Azure Portal, Azure PowerShell, Azure Cli and Rest API. Kindly help review it again. Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ms-zhenhua I've assigned the Marketplace Admin
role so you should be able to test this in TC now. I've left another comment below regarding parsing the scope, if you can rework this I'll be happy to re-review. Thanks!
Hi @manicminer, thank you for reviewing. The testcase needs to assign |
@ms-zhenhua Ah, I misunderstood, this has now been assigned. Please could you add a comment to the acctest mentioning the required owner role (with docs link)? Thanks! |
Hi @manicminer, thank you for your update. I have added the comments to the acctest and all related testcases have passed on TC. Kindly help review it again. |
@ms-zhenhua - upon some internal discussion we've come to the conclusion that the role assignment resource should probably be broken out into separate ones for each resource type for an improved UX much like we have different resource for policy assignments. as such for this resource we could extract it out into WDYT? |
Hi @katbyte, totally agree. Then I will temporarily close this PR and create a new one for the new resource |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
fix #18387