Control: Ensure unused ENIs are removed
Description
Identify and delete any unused Amazon AWS Elastic Network Interfaces in order to adhere to best practices and to avoid reaching the service limit. An AWS Elastic Network Interface (ENI) is pronounced unused when is not attached anymore to an EC2 instance.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.ec2_network_interface_unused
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.ec2_network_interface_unused --share
SQL
This control uses a named query:
ec2_network_interface_unused