-
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_eip_association: fix eventual consistency issue when associating EIP #16808
resource/aws_eip_association: fix eventual consistency issue when associating EIP #16808
Conversation
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.
Hi @dohoangkhiem 👋 Thank you for submitting this fix. It is definitely on the right track -- just a few minor things and should be good to go. 👍
Many thanks @bflad for suggestions, I updated PR, acc tests passed. |
…eneral PropagationTimeout
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, thank you @dohoangkhiem 🚀
Output from acceptance testing in AWS Commercial:
--- PASS: TestAccAWSEIPAssociation_networkInterface (67.84s)
--- PASS: TestAccAWSEIPAssociation_ec2Classic (82.56s)
--- PASS: TestAccAWSEIPAssociation_instance (95.90s)
--- PASS: TestAccAWSEIPAssociation_disappears (103.23s)
--- PASS: TestAccAWSEIPAssociation_basic (170.68s)
--- PASS: TestAccAWSEIPAssociation_spotInstance (302.76s)
Output from acceptance testing in AWS GovCloud (US):
--- PASS: TestAccAWSEIPAssociation_networkInterface (71.88s)
--- PASS: TestAccAWSEIPAssociation_instance (97.48s)
--- PASS: TestAccAWSEIPAssociation_disappears (104.81s)
--- PASS: TestAccAWSEIPAssociation_basic (181.36s)
--- PASS: TestAccAWSEIPAssociation_spotInstance (337.15s)
--- SKIP: TestAccAWSEIPAssociation_ec2Classic (2.41s)
This has been released in version 3.22.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
Relates #11617
Relates #12449
Terraform Version
Affected Resource(s)
aws_eip_association
Terraform Configuration
Expected Behavior
aws_eip_association
is created successfully in TF state and in EC2.Actual Behavior
Rarely, the EIP is associated, but in TF state the resource is not recorded due to eventual consistency issue when reading back the association
Output from acceptance testing: