turbot/aws_insights

Query: ebs_volume_unattached_count

Usage

powerpipe query aws_insights.query.ebs_volume_unattached_count

Steampipe Tables

SQL

select
count(*) as value,
'Not In-Use' as label,
case count(*) when 0 then 'ok' else 'alert' end as "type"
from
aws_ebs_volume
where
jsonb_array_length(attachments) = 0;

Dashboards

The query is used in the dashboards: