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 with retrying deletion of Network ACLs #5954

Merged
merged 1 commit into from
Apr 5, 2016

Conversation

catsby
Copy link
Contributor

@catsby catsby commented Mar 31, 2016

Fix retry after removing associations by correctly checking and returning an
error. This should patch the VPC/Resource leak in our nightly acceptance tests.

In addition, I've added tags to each of the VPCs created in each test, so that we can identify future leaks with greater ease. There is some overlap (one test may re-use a config), but we'll still narrow it down the what test file it came from

Fix retry after removing associations by correctly checking and returning an
error. This should patch the VPC/Resource leak in our nightly acceptance tests.
@jen20
Copy link
Contributor

jen20 commented Apr 5, 2016

LGTM

@phinze
Copy link
Contributor

phinze commented Apr 5, 2016

👍

@Nalum
Copy link

Nalum commented Apr 14, 2016

Is there a planned release date for this?

@stack72 stack72 deleted the b-aws-network-acl-test-cleanups branch April 21, 2016 23:22
@brikis98
Copy link
Contributor

brikis98 commented Jul 6, 2016

Did this get released? I just hit the same "The vpc 'vpc-xxx' has dependencies and cannot be deleted" error with Terraform v0.6.16 on a VPC with network ACLs.

@catsby
Copy link
Contributor Author

catsby commented Jul 7, 2016

@brikis98 this should have gone out with v0.6.15.

"The vpc 'vpc-xxx' has dependencies and cannot be deleted" error with Terraform v0.6.16 on a VPC with network ACLs.

This can be a legitimate error. Do you have a sample configuration that demonstrates this as a Terraform issue? I can look in

@brikis98
Copy link
Contributor

brikis98 commented Jul 7, 2016

@catsby The configuration that leads to this situation is fairly large and complicated. However, I suspect that what led to this situation was what I described in #7527: that is, trying to create Network ACLs before the Gateways are ready for the new VPC. This seems to completely break Terraform's state management and lead to all sorts of crazy errors, including the one in this issue.

@ghost
Copy link

ghost commented Apr 24, 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 24, 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.

5 participants