turbot/aws_insights

Query: emr_cluster_state

Usage

powerpipe query aws_insights.query.emr_cluster_state

Steampipe Tables

SQL

select
'State' as label,
initcap(state) as value,
case
when state = 'TERMINATED_WITH_ERRORS' then 'alert'
else 'ok'
end as type
from
aws_emr_cluster
where
cluster_arn = $1;

Dashboards

The query is used in the dashboards: