turbot/aws_insights

Query: elasticache_cluster_node_age_table

Usage

powerpipe query aws_insights.query.elasticache_cluster_node_age_table

SQL

select
e.cache_cluster_id as "Cluster ID",
e.tags ->> 'Name' as "Name",
now()::date - e.cache_cluster_create_time::date as "Age in Days",
e.cache_cluster_create_time as "Create Time",
e.cache_cluster_status as "Status",
a.title as "Account",
e.account_id as "Account ID",
e.region as "Region",
e.arn as "ARN"
from
aws_elasticache_cluster as e,
aws_account as a
where
e.account_id = a.account_id
order by
e.cache_cluster_create_time,
e.cache_cluster_id;

Dashboards

The query is used in the dashboards: