2 Answers
- Newest
- Most votes
- Most comments
0
Best thing you can do is see what it is attached to.
On the ec2 console, in the left menu go to "Network & Security" "Network Interfaces" and look up the interface in question.
You can scroll a bit to the right to see the Description.
This will give you an indication by what it was/is used.
If it says it was for a Lambda you might have to wait up to 40 minutes.
If it is another resources still active in your account: well you found the reason it can't be deleted.
Merry Xmas. Jacco
answered 2 years ago
0
When tracking down such issues in the past I have leveraged below.
- If you have AWS Config enabled you could search for the ENI resource to determine what is associated with the ENI.
- AWS Support Tools contains a simple bash script (findEniAssociations) that when given an ENI identifier and an AWS region will find if there are any Lambda functions currently using the specified ENI.
answered 2 years ago
Relevant content
- asked 2 years ago
- asked 2 years ago
- asked 3 years ago
- asked 8 months ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 8 months ago