turbot/aws_insights

Query: redshift_cluster_age_table

Usage

powerpipe query aws_insights.query.redshift_cluster_age_table

SQL

select
c.cluster_identifier as "Cluster Identifier",
now() :: date - c.cluster_create_time :: date as "Age in Days",
c.cluster_create_time as "Create Time",
c.cluster_status as "Status",
a.title as "Account",
c.account_id as "Account ID",
c.region as "Region",
c.arn as "ARN"
from
aws_redshift_cluster as c,
aws_account as a
where
c.account_id = a.account_id
order by
c.cluster_create_time,
c.cluster_identifier;

Dashboards

The query is used in the dashboards: