-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Use correct list of forbidden ids #32352
Conversation
The provider checked if forbidden account ids have been set, but used the (empty) list of allowed account ids. Just use the correct list of ids.
Community NoteVoting for Prioritization
For Submitters
|
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.
LGTM 🚀.
Validated:
Before
% terraform plan
No changes. Your infrastructure matches the configuration.
Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed.
After
% terraform plan
╷
│ Error: AWS account ID not allowed: 123456789012
│
│ with provider["registry.terraform.io/hashicorp/aws"],
│ on main.tf line 5, in provider "aws":
│ 5: provider "aws" {
│
╵
@waldiTM Thanks for the contribution 🎉 👏. |
This functionality has been released in v5.7.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 pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Description
The provider checked if forbidden account ids have been set, but used the (empty) list of allowed account ids. Just use the correct list of ids.