-
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
resource/aws_vpc_dhcp_options_association: Handle read-after-create eventual consistency #18472
Conversation
…ventual consistency Reference: #16142 Reference: #16796 Output from acceptance testing in AWS Commercial: ``` --- PASS: TestAccAWSDHCPOptionsAssociation_disappears_vpc (19.27s) --- PASS: TestAccAWSDHCPOptionsAssociation_disappears_dhcp (25.61s) --- PASS: TestAccAWSDHCPOptionsAssociation_basic (25.84s) ``` Output from acceptance testing in AWS GovCloud (US): ``` --- PASS: TestAccAWSDHCPOptionsAssociation_disappears_vpc (21.51s) --- PASS: TestAccAWSDHCPOptionsAssociation_disappears_dhcp (27.55s) --- PASS: TestAccAWSDHCPOptionsAssociation_basic (28.10s) ```
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.
Looks great! 🎉
Acceptance tests on GovCloud:
--- PASS: TestAccAWSDHCPOptionsAssociation_disappears_vpc (20.59s)
--- PASS: TestAccAWSDHCPOptionsAssociation_disappears (23.82s)
--- PASS: TestAccAWSDHCPOptionsAssociation_disappears_dhcp (26.28s)
--- PASS: TestAccAWSDHCPOptionsAssociation_basic (26.60s)
Acceptance tests on commercial:
--- PASS: TestAccAWSDHCPOptionsAssociation_disappears_vpc (16.52s)
--- PASS: TestAccAWSDHCPOptionsAssociation_disappears (20.19s)
--- PASS: TestAccAWSDHCPOptionsAssociation_disappears_dhcp (21.90s)
--- PASS: TestAccAWSDHCPOptionsAssociation_basic (22.07s)
Followup adjustments look good to me 👍 I'll merge when CI thinks we're going the code right. |
This PR also adjusts
The issue was that this line would only occasionally result in a DHCP Options ID making it to the testAccCheckResourceDisappears(testAccProvider, resourceAwsVpcDhcpOptions(), "aws_vpc_dhcp_options.test"), Since In the |
This has been released in version 3.35.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! |
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! |
Community Note
Closes #16142
Reference: #16796
Output from acceptance testing in AWS Commercial:
Output from acceptance testing in AWS GovCloud (US):