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

resource/aws_eip_association: Prevent deletion error InvalidAssociationID.NotFound #3653

Merged
merged 1 commit into from
Mar 8, 2018

Conversation

bflad
Copy link
Contributor

@bflad bflad commented Mar 7, 2018

Fixes #1682

aws_eip_association.eip_assoc: Destroying... (ID: eipassoc-c4186cf0)
Error applying plan:

1 error(s) occurred:

* aws_eip_association.eip_assoc (destroy): 1 error(s) occurred:

* aws_eip_association.eip_assoc: Error deleting Elastic IP association: InvalidAssociationID.NotFound: The association ID 'eipassoc-c4186cf0' does not exist
        status code: 400, request id: bd68f61b-c8df-4781-a756-35449101af92

Tests:

=== RUN   TestAccAWSEIPAssociation_disappears
--- PASS: TestAccAWSEIPAssociation_disappears (95.60s)
=== RUN   TestAccAWSEIPAssociation_ec2Classic
--- PASS: TestAccAWSEIPAssociation_ec2Classic (104.41s)
=== RUN   TestAccAWSEIPAssociation_basic
--- PASS: TestAccAWSEIPAssociation_basic (116.12s)
=== RUN   TestAccAWSEIPAssociation_spotInstance
--- PASS: TestAccAWSEIPAssociation_spotInstance (305.50s)

@bflad bflad added bug Addresses a defect in current functionality. service/ec2 Issues and PRs that pertain to the ec2 service. labels Mar 7, 2018
@bflad bflad added this to the v1.11.0 milestone Mar 7, 2018
@ghost ghost added the size/XS Managed by automation to categorize the size of a PR. label Mar 7, 2018
Copy link
Member

@radeksimko radeksimko left a comment

Choose a reason for hiding this comment

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

I see you ran EC2 Classic tests too, so all good 👍 thanks.

@bflad bflad merged commit f84079d into master Mar 8, 2018
@bflad bflad deleted the b-aws_eip_association-notfound branch March 8, 2018 14:43
bflad added a commit that referenced this pull request Mar 8, 2018
@bflad
Copy link
Contributor Author

bflad commented Mar 9, 2018

This has been released in version 1.11.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

@ghost
Copy link

ghost commented Apr 7, 2020

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 and limited conversation to collaborators Apr 7, 2020
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/ec2 Issues and PRs that pertain to the ec2 service. size/XS Managed by automation to categorize the size of a PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error deleting Elastic IP association: InvalidAssociationID.NotFound
2 participants