turbot/steampipe-mod-aws-insights

Query: elasticache_cluster_status

Usage

powerpipe query aws_insights.query.elasticache_cluster_status

SQL

select
'Status' as label,
case
when cluster_enabled then 'Enabled'
else 'Disabled'
end as value
from
aws_elasticache_replication_group
where
arn = $1
and account_id = split_part($1, ':', 5)
and region = split_part($1, ':', 4);

Dashboards

The query is used in the dashboards: