turbot/aws_insights

Query: vpc_vpcs_for_ec2_instance

Usage

powerpipe query aws_insights.query.vpc_vpcs_for_ec2_instance

Steampipe Tables

SQL

select
vpc_id as vpc_id
from
aws_ec2_instance
where
aws_ec2_instance.account_id = split_part($1, ':', 5)
and aws_ec2_instance.region = split_part($1, ':', 4)
and arn = $1;