-
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
Unable to create role assignment at resource provider scopeof /providers/Microsoft.Marketplace #18387
Comments
Hi @ggomes-agc, thank you for reporting this issue. I will create a PR to support |
Hi @ms-zhenhua I followed the thread of #18439 and saw that it was closed and you referenced opening a new PR, but that one was not linked. I am following up to see if you know if this issue has been fixed/resolved. Thank you! |
Hi @rcskosir, I have submitted a new PR to resolve this issue. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Is there an existing issue for this?
Community Note
Terraform Version
1.2.9
AzureRM Provider Version
3.22.0
Affected Resource(s)/Data Source(s)
azurerm_role_assignment
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
The role assignment should be created. The following Powershell code is able to deploy the role assignment.
New-AzRoleAssignment -ObjectId $sp.Id -Scope /providers/Microsoft.Marketplace -RoleDefinitionName "Marketplace Admin"
Note: This issue is similar to the fix for #17397.
Actual Behaviour
Terraform's syntax checking seems to block this scope type.
Steps to Reproduce
terraform plan
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: