turbot/aws_insights

Query: ec2_instances_for_vpc_eip

Usage

powerpipe query aws_insights.query.ec2_instances_for_vpc_eip

SQL

select
i.arn as instance_arn
from
aws_vpc_eip as e,
aws_ec2_instance as i
where
e.instance_id = i.instance_id
and e.arn = $1;