-
Notifications
You must be signed in to change notification settings - Fork 9k
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
Improve error message when hitting service limit on aws_ssoadmin_account_assignment #22952
Comments
It is mostly the issue with the inline policy associated with the permission set. If you click on edit inline policy it will show you the error. It's kinda annoying that this message clearly does not specify the root cause. |
Any plans to address this? It's still an issue as of v4.52.0 |
I hit this with trying to associate an account with one that wasn't a member of the org OU, so a cleaner error message would've been helpful in debugging this |
Hi! All, I solved this issue doing some investigations with the aws-cli,
In my case, the issue was by lack of grants in the service-account that I am using. Have a nice day!! ;) |
I also found the root cause was similar for me - the customer managed IAM policy didn't already exist in the account I was trying to use it in (via
|
This got fixed in #33121 so should be resolved in the next release 🤞 The error message being printed is now the |
This functionality has been released in v5.14.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
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
Terraform CLI and Terraform AWS Provider Version
(I know this is slightly older, but I checked the release notes and found no updates for this resource)
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Expected Behavior
Display the error that AWS returns, so I can take appropriate action. In this case, request a limit increase.
Actual Behavior
Steps to Reproduce
terraform apply
The text was updated successfully, but these errors were encountered: