turbot/aws_insights

Query: subnet_count_for_vpc

Usage

powerpipe query aws_insights.query.subnet_count_for_vpc

Steampipe Tables

SQL

select
'Subnets' as label,
count(*) as value,
case
when count(*) > 0 then 'ok'
else 'alert'
end as type
from
aws_vpc_subnet
where
vpc_id = $1

Dashboards

The query is used in the dashboards: