turbot/aws_insights

Query: elasticache_cluster_cache_node_count

Usage

powerpipe query aws_insights.query.elasticache_cluster_cache_node_count

SQL

select
'Cache Nodes' as label,
jsonb_array_length(member_clusters) 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: