turbot/aws_insights

Query: vpc_subnet_map_public_ip_on_launch_disabled

Usage

powerpipe query aws_insights.query.vpc_subnet_map_public_ip_on_launch_disabled

Steampipe Tables

SQL

select
'Map Public IP on Launch' as label,
case
when map_public_ip_on_launch then 'Enabled'
else 'Disabled'
end as value,
case
when map_public_ip_on_launch then 'alert'
else 'ok'
end as type
from
aws_vpc_subnet
where
subnet_id = $1

Dashboards

The query is used in the dashboards: