-
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_user_policies_exclusive: new resource #39544
Conversation
Community NoteVoting for Prioritization
For Submitters
|
49aaa8c
to
cdf167e
Compare
This resource will enable exclusive management of IAM user policy attachments via Terraform. ```console % make testacc PKG=iam TESTS=TestAccIAMUserPoliciesExclusive_ make: Verifying source code with gofmt... ==> Checking that code complies with gofmt requirements... TF_ACC=1 go1.23.1 test ./internal/service/iam/... -v -count 1 -parallel 20 -run='TestAccIAMUserPoliciesExclusive_' -timeout 360m --- PASS: TestAccIAMUserPoliciesExclusive_empty (14.20s) --- PASS: TestAccIAMUserPoliciesExclusive_disappears_User (14.87s) --- PASS: TestAccIAMUserPoliciesExclusive_basic (16.78s) --- PASS: TestAccIAMUserPoliciesExclusive_outOfBandRemoval (23.39s) --- PASS: TestAccIAMUserPoliciesExclusive_outOfBandAddition (23.42s) --- PASS: TestAccIAMUserPoliciesExclusive_multiple (25.27s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/iam 32.023s ```
cdf167e
to
8106f15
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=TestAccIAMUserPoliciesExclusive_' PKG=iam ACCTEST_PARALLELISM=3
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.1 test ./internal/service/iam/... -v -count 1 -parallel 3 -run=TestAccIAMUserPoliciesExclusive_ -timeout 360m
=== RUN TestAccIAMUserPoliciesExclusive_basic
=== PAUSE TestAccIAMUserPoliciesExclusive_basic
=== RUN TestAccIAMUserPoliciesExclusive_disappears_User
=== PAUSE TestAccIAMUserPoliciesExclusive_disappears_User
=== RUN TestAccIAMUserPoliciesExclusive_multiple
=== PAUSE TestAccIAMUserPoliciesExclusive_multiple
=== RUN TestAccIAMUserPoliciesExclusive_empty
=== PAUSE TestAccIAMUserPoliciesExclusive_empty
=== RUN TestAccIAMUserPoliciesExclusive_outOfBandRemoval
=== PAUSE TestAccIAMUserPoliciesExclusive_outOfBandRemoval
=== RUN TestAccIAMUserPoliciesExclusive_outOfBandAddition
=== PAUSE TestAccIAMUserPoliciesExclusive_outOfBandAddition
=== CONT TestAccIAMUserPoliciesExclusive_basic
=== CONT TestAccIAMUserPoliciesExclusive_empty
=== CONT TestAccIAMUserPoliciesExclusive_multiple
--- PASS: TestAccIAMUserPoliciesExclusive_empty (11.27s)
=== CONT TestAccIAMUserPoliciesExclusive_disappears_User
--- PASS: TestAccIAMUserPoliciesExclusive_basic (13.01s)
=== CONT TestAccIAMUserPoliciesExclusive_outOfBandAddition
--- PASS: TestAccIAMUserPoliciesExclusive_multiple (20.07s)
=== CONT TestAccIAMUserPoliciesExclusive_outOfBandRemoval
--- PASS: TestAccIAMUserPoliciesExclusive_disappears_User (10.37s)
--- PASS: TestAccIAMUserPoliciesExclusive_outOfBandAddition (17.16s)
--- PASS: TestAccIAMUserPoliciesExclusive_outOfBandRemoval (17.43s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/iam 42.732s
This functionality has been released in v5.70.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
This resource will enable exclusive management of inline policy assignments to an IAM user via Terraform.
Relations
Relates #39376
Closes #39377
Output from Acceptance Testing