turbot/aws_insights

Query: ec2_instances_for_ec2_network_interface

Usage

powerpipe query aws_insights.query.ec2_instances_for_ec2_network_interface

Steampipe Tables

SQL

select
i.arn as instance_arn
from
aws_ec2_instance as i,
jsonb_array_elements(network_interfaces) as eni
where
eni ->> 'NetworkInterfaceId' = $1;