turbot/aws_insights

Query: ec2_instance_detailed_monitoring_enabled

Usage

powerpipe query aws_insights.query.ec2_instance_detailed_monitoring_enabled

Steampipe Tables

SQL

with instances as (
select
case
when monitoring_state = 'enabled' then 'enabled'
else 'disabled'
end as visibility
from
aws_ec2_instance
)
select
visibility,
count(*)
from
instances
group by
visibility

Dashboards

The query is used in the dashboards: