Skip to content
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_role_policy_attachments_exclusive: new resource #39718

Merged
merged 2 commits into from
Oct 15, 2024

Commits on Oct 15, 2024

  1. r/aws_iam_role_policy_attachments_exclusive: new resource

    This resource will allow practitioners to retain exclusive ownership of
    customer managed policy attachments to IAM roles via Terraform.
    
    ```console
    % make testacc PKG=iam TESTS=TestAccIAMRolePolicyAttachmentsExclusive_
    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='TestAccIAMRolePolicyAttachmentsExclusive_'  -timeout 360m
    2024/10/14 15:25:06 Initializing Terraform AWS Provider...
    
    --- PASS: TestAccIAMRolePolicyAttachmentsExclusive_empty (16.00s)
    --- PASS: TestAccIAMRolePolicyAttachmentsExclusive_disappears_Policy (17.99s)
    --- PASS: TestAccIAMRolePolicyAttachmentsExclusive_disappears_Role (18.13s)
    --- PASS: TestAccIAMRolePolicyAttachmentsExclusive_basic (18.24s)
    --- PASS: TestAccIAMRolePolicyAttachmentsExclusive_outOfBandAddition (26.34s)
    --- PASS: TestAccIAMRolePolicyAttachmentsExclusive_outOfBandRemoval (26.48s)
    --- PASS: TestAccIAMRolePolicyAttachmentsExclusive_multiple (26.84s)
    PASS
    ok      github.com/hashicorp/terraform-provider-aws/internal/service/iam        33.206s
    ```
    jar-b committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    4bfe765 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e5dcea9 View commit details
    Browse the repository at this point in the history