-
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
r/aws_iam_group_policy_attachments_exclusive: new resource #39732
Conversation
Community NoteVoting for Prioritization
For Submitters
|
This resource will allow practitioners to retain exclusive ownership of customer managed policy attachments to IAM groups via Terraform. ```console % make testacc PKG=iam TESTS=TestAccIAMGroupPolicyAttachmentsExclusive_ make: Verifying source code with gofmt... ==> Checking that code complies with gofmt requirements... TF_ACC=1 go1.23.2 test ./internal/service/iam/... -v -count 1 -parallel 20 -run='TestAccIAMGroupPolicyAttachmentsExclusive_' -timeout 360m 2024/10/15 15:41:33 Initializing Terraform AWS Provider... --- PASS: TestAccIAMGroupPolicyAttachmentsExclusive_empty (14.72s) --- PASS: TestAccIAMGroupPolicyAttachmentsExclusive_disappears_Policy (15.88s) --- PASS: TestAccIAMGroupPolicyAttachmentsExclusive_disappears_Group (15.92s) --- PASS: TestAccIAMGroupPolicyAttachmentsExclusive_basic (16.48s) --- PASS: TestAccIAMGroupPolicyAttachmentsExclusive_outOfBandRemoval (23.58s) --- PASS: TestAccIAMGroupPolicyAttachmentsExclusive_outOfBandAddition (24.17s) --- PASS: TestAccIAMGroupPolicyAttachmentsExclusive_multiple (24.29s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/iam 30.887s ```
f75e05e
to
ec9afbd
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.
LGTM 🚀.
% make testacc TESTARGS='-run=TestAccIAMGroupPolicyAttachmentsExclusive_' PKG=iam ACCTEST_PARALLELISM=3
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.2 test ./internal/service/iam/... -v -count 1 -parallel 3 -run=TestAccIAMGroupPolicyAttachmentsExclusive_ -timeout 360m
2024/10/16 08:09:43 Initializing Terraform AWS Provider...
=== RUN TestAccIAMGroupPolicyAttachmentsExclusive_basic
=== PAUSE TestAccIAMGroupPolicyAttachmentsExclusive_basic
=== RUN TestAccIAMGroupPolicyAttachmentsExclusive_disappears_Group
=== PAUSE TestAccIAMGroupPolicyAttachmentsExclusive_disappears_Group
=== RUN TestAccIAMGroupPolicyAttachmentsExclusive_disappears_Policy
=== PAUSE TestAccIAMGroupPolicyAttachmentsExclusive_disappears_Policy
=== RUN TestAccIAMGroupPolicyAttachmentsExclusive_multiple
=== PAUSE TestAccIAMGroupPolicyAttachmentsExclusive_multiple
=== RUN TestAccIAMGroupPolicyAttachmentsExclusive_empty
=== PAUSE TestAccIAMGroupPolicyAttachmentsExclusive_empty
=== RUN TestAccIAMGroupPolicyAttachmentsExclusive_outOfBandRemoval
=== PAUSE TestAccIAMGroupPolicyAttachmentsExclusive_outOfBandRemoval
=== RUN TestAccIAMGroupPolicyAttachmentsExclusive_outOfBandAddition
=== PAUSE TestAccIAMGroupPolicyAttachmentsExclusive_outOfBandAddition
=== CONT TestAccIAMGroupPolicyAttachmentsExclusive_basic
=== CONT TestAccIAMGroupPolicyAttachmentsExclusive_empty
=== CONT TestAccIAMGroupPolicyAttachmentsExclusive_outOfBandAddition
--- PASS: TestAccIAMGroupPolicyAttachmentsExclusive_empty (10.72s)
=== CONT TestAccIAMGroupPolicyAttachmentsExclusive_outOfBandRemoval
--- PASS: TestAccIAMGroupPolicyAttachmentsExclusive_basic (12.37s)
=== CONT TestAccIAMGroupPolicyAttachmentsExclusive_disappears_Policy
--- PASS: TestAccIAMGroupPolicyAttachmentsExclusive_outOfBandAddition (17.75s)
=== CONT TestAccIAMGroupPolicyAttachmentsExclusive_multiple
--- PASS: TestAccIAMGroupPolicyAttachmentsExclusive_disappears_Policy (9.89s)
=== CONT TestAccIAMGroupPolicyAttachmentsExclusive_disappears_Group
--- PASS: TestAccIAMGroupPolicyAttachmentsExclusive_outOfBandRemoval (17.79s)
--- PASS: TestAccIAMGroupPolicyAttachmentsExclusive_disappears_Group (10.08s)
--- PASS: TestAccIAMGroupPolicyAttachmentsExclusive_multiple (18.82s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/iam 42.015s
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 functionality has been released in v5.72.1 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
This resource will allow practitioners to retain exclusive ownership of customer managed policy attachments to IAM groups via Terraform.
Relations
Relates #39376
Closes #39381
Output from Acceptance Testing