turbot/aws_insights

Query: vpc_subnets_for_vpc

Usage

powerpipe query aws_insights.query.vpc_subnets_for_vpc

Steampipe Tables

SQL

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