Deletion of subnet and therefore VPC fails when Lambda ENIs are still attached in the subnets #5459
Labels
service/ec2
Issues and PRs that pertain to the ec2 service.
service/lambda
Issues and PRs that pertain to the lambda service.
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?
The text was updated successfully, but these errors were encountered: