-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Enhancing Error Messages for "Policy update access denied" failures #10079
Comments
Do you have debug logs for one of these calls? We're returning the error message from the API, so I'm not sure if the extra information is there. |
Setting |
I'm not sure where to file offhand, sorry! |
Closing based on not enough info from the API |
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. |
Community Note
Description
We are using the Setting limits on granting roles feature with IAM Policies in GCP. When troubleshooting misconfigured iam policies receiving a generic 403 error:
It would be helpful to include more information as too why the action is blocked. For example: this is denied because the role you are trying to assign is not in the grantable roles list.
New or Affected Resource(s)
> terraform version Terraform v0.14.11 + provider registry.terraform.io/hashicorp/google v3.84.0
Potential Terraform Configuration
I created a sample git repo to show the issue. Here are the steps to reproduce the issue:
The problem is that I forgot to include the
roles/logging.logWriter
role in the grantable roles list.The text was updated successfully, but these errors were encountered: