turbot/aws_insights

Query: rds_db_cluster_age_table

Usage

powerpipe query aws_insights.query.rds_db_cluster_age_table

SQL

select
c.db_cluster_identifier as "DB Cluster Identifier",
now()::date - c.create_time::date as "Age in Days",
c.create_time as "Create Time",
c.status as "Status",
a.title as "Account",
c.account_id as "Account ID",
c.arn as "ARN"
from
aws_rds_db_cluster as c,
aws_account as a
where
c.account_id = a.account_id
order by
c.create_time,
c.db_cluster_identifier;

Dashboards

The query is used in the dashboards: