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

service/iam: Handle read-after-create eventual consistency in IAM Group resources #18459

Merged
merged 4 commits into from
Apr 2, 2021

Conversation

bflad
Copy link
Contributor

@bflad bflad commented Mar 29, 2021

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Reference: #16796

Output from acceptance testing in AWS Commercial:

--- PASS: TestAccAWSGroupMembership_basic (83.42s)
--- PASS: TestAccAWSGroupMembership_paginatedUserList (326.03s)

--- PASS: TestAccAWSIAMGroup_basic (24.05s)
--- PASS: TestAccAWSIAMGroup_nameChange (22.97s)

--- PASS: TestAccAWSIAMGroupPolicy_basic (26.33s)
--- PASS: TestAccAWSIAMGroupPolicy_disappears (14.86s)
--- PASS: TestAccAWSIAMGroupPolicy_generatedName (26.51s)
--- PASS: TestAccAWSIAMGroupPolicy_namePrefix (26.68s)

--- PASS: TestAccAWSIAMGroupPolicyAttachment_basic (26.13s)

Output from acceptance testing in AWS GovCloud (US):

--- PASS: TestAccAWSGroupMembership_basic (53.90s)
--- PASS: TestAccAWSGroupMembership_paginatedUserList (240.95s)

--- PASS: TestAccAWSIAMGroup_basic (32.01s)
--- PASS: TestAccAWSIAMGroup_nameChange (29.80s)

--- PASS: TestAccAWSIAMGroupPolicy_basic (36.62s)
--- PASS: TestAccAWSIAMGroupPolicy_disappears (18.84s)
--- PASS: TestAccAWSIAMGroupPolicy_generatedName (37.66s)
--- PASS: TestAccAWSIAMGroupPolicy_namePrefix (37.69s)

--- PASS: TestAccAWSIAMGroupPolicyAttachment_basic (36.80s)

…up resources

Reference: #16796

Output from acceptance testing in AWS Commercial:

```
--- PASS: TestAccAWSGroupMembership_basic (83.42s)
--- PASS: TestAccAWSGroupMembership_paginatedUserList (326.03s)

--- PASS: TestAccAWSIAMGroup_basic (24.05s)
--- PASS: TestAccAWSIAMGroup_nameChange (22.97s)

--- PASS: TestAccAWSIAMGroupPolicy_basic (26.33s)
--- PASS: TestAccAWSIAMGroupPolicy_disappears (14.86s)
--- PASS: TestAccAWSIAMGroupPolicy_generatedName (26.51s)
--- PASS: TestAccAWSIAMGroupPolicy_namePrefix (26.68s)

--- PASS: TestAccAWSIAMGroupPolicyAttachment_basic (26.13s)
```

Output from acceptance testing in AWS GovCloud (US):

```
--- PASS: TestAccAWSGroupMembership_basic (53.90s)
--- PASS: TestAccAWSGroupMembership_paginatedUserList (240.95s)

--- PASS: TestAccAWSIAMGroup_basic (32.01s)
--- PASS: TestAccAWSIAMGroup_nameChange (29.80s)

--- PASS: TestAccAWSIAMGroupPolicy_basic (36.62s)
--- PASS: TestAccAWSIAMGroupPolicy_disappears (18.84s)
--- PASS: TestAccAWSIAMGroupPolicy_generatedName (37.66s)
--- PASS: TestAccAWSIAMGroupPolicy_namePrefix (37.69s)

--- PASS: TestAccAWSIAMGroupPolicyAttachment_basic (36.80s)
```
@bflad bflad added the bug Addresses a defect in current functionality. label Mar 29, 2021
@bflad bflad requested a review from a team as a code owner March 29, 2021 15:13
@ghost ghost added size/L Managed by automation to categorize the size of a PR. service/iam Issues and PRs that pertain to the iam service. labels Mar 29, 2021
@YakDriver YakDriver self-assigned this Apr 1, 2021
@YakDriver YakDriver added this to the v3.35.0 milestone Apr 1, 2021
Copy link
Member

@YakDriver YakDriver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks underbar! 🎉

Acceptance tests GovCloud:

--- PASS: TestAccAWSIAMGroupPolicy_disappears (18.53s)
--- PASS: TestAccAWSIAMGroup_nameChange (28.97s)
--- PASS: TestAccAWSIAMGroup_basic (30.93s)
--- PASS: TestAccAWSIAMGroupPolicyAttachment_basic (35.58s)
--- PASS: TestAccAWSIAMGroupPolicy_basic (35.82s)
--- PASS: TestAccAWSIAMGroupPolicy_namePrefix (36.98s)
--- PASS: TestAccAWSIAMGroupPolicy_generatedName (37.04s)
--- PASS: TestAccAWSGroupMembership_basic (102.25s)
--- PASS: TestAccAWSGroupMembership_paginatedUserList (213.16s)

Acceptance tests commercial:

--- PASS: TestAccAWSIAMGroupPolicy_disappears (13.52s)
--- PASS: TestAccAWSIAMGroup_nameChange (20.76s)
--- PASS: TestAccAWSIAMGroup_basic (23.11s)
--- PASS: TestAccAWSIAMGroupPolicyAttachment_basic (24.35s)
--- PASS: TestAccAWSIAMGroupPolicy_basic (24.90s)
--- PASS: TestAccAWSIAMGroupPolicy_generatedName (26.11s)
--- PASS: TestAccAWSIAMGroupPolicy_namePrefix (26.12s)
--- PASS: TestAccAWSGroupMembership_basic (132.42s)
--- PASS: TestAccAWSGroupMembership_paginatedUserList (187.69s)

@breathingdust breathingdust modified the milestones: v3.35.0, v3.36.0 Apr 1, 2021
@bflad bflad merged commit 65efa38 into main Apr 2, 2021
@bflad bflad deleted the b-iam-group-IsNewResource branch April 2, 2021 01:32
github-actions bot pushed a commit that referenced this pull request Apr 2, 2021
@ghost
Copy link

ghost commented Apr 9, 2021

This has been released in version 3.36.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 for triage. Thanks!

@ghost
Copy link

ghost commented May 2, 2021

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked as resolved and limited conversation to collaborators May 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. service/iam Issues and PRs that pertain to the iam service. size/L Managed by automation to categorize the size of a PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants