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