- Newest
- Most votes
- Most comments
Hi. Check the description field of target ENI from console. There will be hint what service is using target ENI.
if you want. to check from AWS CLI command is like this.
aws ec2 describe-network-interfaces --query "NetworkInterfaces[*].[NetworkInterfaceId,Description]" --output table
You can look for VPC dependencies as described in this document.
https://repost.aws/knowledge-center/troubleshoot-dependency-error-delete-vpc
If it is a network interface, the following procedure can be used to find it.
Open the Amazon EC2 console.
Select the AWS Region that the Amazon VPC is in.
In the navigation pane, under Network Interfaces, search for the VPC ID of the Amazon VPC that you're deleting.
Select the network interface and choose the Details tab.
Review the Description to see which resources the network interface is attached to.
Delete the associated resources. For example, you're deleting a Network Interface and the Requester ID is amazon-elb. Use the value in the Description field of the Elastic Network Interface to identify the load balancer. Then, navigate to the Load Balancer section of the Amazon EC2 console, locate the load balancer, and delete it. Note: If the network interface is a primary one, then it's deleted when you delete the instance.
Closing to open one with a better description of the core issue and more appropriate keywords. Thanks to all who helped.
Relevant content
- Accepted Answerasked 10 months ago
- asked a year ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
Thanks. Unfortunately, that just gives me "AWS created network interface for directory d-*********", for both interfaces. referencing the directory I can't remove because of them.
This did point me in the direction of identifying it as a Workspaces-related issue, so marking as accepted. I'm opening a new question with a better description and keywords.