Control: VPC EIPs should be associated with an EC2 instance or ENI
Description
This rule ensures Elastic IPs allocated to a AWS Virtual Private Cloud (AWS VPC) are attached to AWS Elastic Compute Cloud (AWS EC2) instances or in-use Elastic Network Interfaces.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.vpc_eip_associated
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.vpc_eip_associated --share
SQL
This control uses a named query:
vpc_eip_associated