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

Deletion of subnet and therefore VPC fails when Lambda ENIs are still attached in the subnets #5459

Closed
Puneeth-n opened this issue Aug 6, 2018 · 4 comments
Labels
service/ec2 Issues and PRs that pertain to the ec2 service. service/lambda Issues and PRs that pertain to the lambda service.

Comments

@Puneeth-n
Copy link
Contributor

terraform-provides-aws: 1.27.0
terraform-core: 0.10.8

Seems to be related to hashicorp/terraform/issues/10272

I recently tried to destroy one of out test environments comprising of a VPC, around 50 lambdas all running within the VPC and 2 subnets.

I do not explicitly create any ENIs for lambdas so AWS creates it automagically upon lambda invocations.

When I tried to destroy my environment, the subnet deletion failed with a timeout as there were ENIs still attached and active in the subnets.

How does one go about fixing this?

@bflad
Copy link
Contributor

bflad commented Aug 6, 2018

@Puneeth-n can you confirm if this is already reported by #829? It seems very similar. Thanks! (For what its worth, there's an open PR relating to this as well: #4884)

@bflad bflad added waiting-response Maintainers are waiting on response from community or contributor. service/lambda Issues and PRs that pertain to the lambda service. service/ec2 Issues and PRs that pertain to the ec2 service. labels Aug 6, 2018
@Puneeth-n
Copy link
Contributor Author

@bflad Thanks for the pointers. Seems to be the same issue. Is there a timeline on when it will be merged?

@bflad
Copy link
Contributor

bflad commented Aug 7, 2018

Closing as a duplicate of #829 to consolidate discussions and efforts there. Its not personally on my roadmap to look at currently and doesn't look like there's currently much community 👍 upvoting at the moment.

@bflad bflad closed this as completed Aug 7, 2018
@ghost
Copy link

ghost commented Apr 4, 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 4, 2020
@breathingdust breathingdust removed the waiting-response Maintainers are waiting on response from community or contributor. label Sep 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
service/ec2 Issues and PRs that pertain to the ec2 service. service/lambda Issues and PRs that pertain to the lambda service.
Projects
None yet
Development

No branches or pull requests

3 participants