Cannot delete ENIs because it's used by lambda, but I have nothing on lambda

0

Hi,

Yesterday I was playing around with EKS and this morning I checked how much I was billed so I wanted to delete everything since I'm currently not using it (I'm in the free tier, so I don't want to spend much so far). I had created my EKS cluster with CloudFormation, but now I can't delete the stack because resources are still in use. When I tried to delete these, I get errors saying that something else is using them, so I keep going down the line and I can't delete the ENIs because "Network interface is currently in use and is of type lambda". I go into Lambda, but there is nothing there.

Any hints on how I can get rid of these ENIs, so I can delete everything else?

Thanks

JavierG
asked 3 months ago293 views
2 Answers
0

Have you run the Lambda ENI Finder mentioned in this article? https://repost.aws/knowledge-center/lambda-eni-find-delete

profile pictureAWS
EXPERT
answered 3 months ago
profile pictureAWS
EXPERT
reviewed 3 months ago
0

Yes, but still nothing:

This script is for determining why an ENI that is managed by AWS Lambda has not been deleted.

Found eni-XXXXXXXXXXX with "subnet-XXXXXXXXXXXX" using Security Groups "sg-XXXXXXXXXXXXX"
Searching for Lambda function versions using "subnet-XXXXXXXXXXXXX" and Security Groups "sg-XXXXXXXXXXXXXX"...

No Lambda functions or versions found that were using the same subnet as this ENI.
If this ENI is not deleted automatically in the next 24 hours then it may be 'stuck'. If the ENI will not allow you to delete it manually after 24 hours then please contact AWS support and send them the output of this script.
JavierG
answered 3 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions