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