-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
AWS Organizations Policy/Attachment: Add skip_destroy
attribute
#29382
AWS Organizations Policy/Attachment: Add skip_destroy
attribute
#29382
Conversation
Community NoteVoting for Prioritization
For Submitters
|
f585131
to
14c8333
Compare
ignore_last_policy_exception
attributeskip_destroy
attribute
14c8333
to
d902310
Compare
d902310
to
48a2f58
Compare
48a2f58
to
2d896e3
Compare
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.
This LGTM 🎉 . In places we have testing challenges, I think the "best effort" and some reliance on the community is totally reasonable. The community would probably be okay with more reliance if it meant a bit faster turn around I'm guessing.
This functionality has been released in v4.56.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
Adds an optional
skip_destroy
attribute to theaws_organizations_policy
andaws_organizations_policy_attachment
resources. This will allow for use cases where at least one policy attachment must be preserved to meet the minimum count required by AWS, while still allowing destruction of the underlying organization or account to proceed entirely within Terraform.Relations
Closes #26797
Output from Acceptance Testing