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

provider/aws: Fix issue replacing Network ACL Relationship #6421

Merged
merged 1 commit into from
May 2, 2016

Conversation

catsby
Copy link
Contributor

@catsby catsby commented Apr 29, 2016

It's possible that during an attempt to replace this
association, the Subnet in question has already been moved to
another ACL. This can happen if you're destroying a network acl
and simultaneously re-associating it's subnet(s) with another
ACL; Terraform may have already re-associated the subnet(s) by
the time we attempt to destroy them, even between the time we
list them and then try to destroy them. In this case, the
association we're trying to replace will no longer exist and
this call will fail. Here we trap that error and fail
gracefully; the association we tried to replace gone, we trust
someone else has taken ownership.

Fixes TestAccAWSNetworkAcl_SubnetChange that's been failing for some time

@jen20
Copy link
Contributor

jen20 commented May 2, 2016

LGTM!

@catsby catsby merged commit c2f7a0c into master May 2, 2016
@catsby catsby deleted the b-aws-net-acl-udpate-errors branch May 2, 2016 14:45
bigkraig pushed a commit to ticketmaster/terraform that referenced this pull request May 5, 2016
bigkraig pushed a commit to ticketmaster/terraform that referenced this pull request May 5, 2016
xsellier pushed a commit to xsellier/terraform that referenced this pull request May 17, 2016
@ghost
Copy link

ghost commented Apr 26, 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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants