turbot/steampipe-mod-aws-insights

Query: rds_db_cluster_inventory_table

Usage

powerpipe query aws_insights.query.rds_db_cluster_inventory_table

SQL

select
c.db_cluster_identifier as "DB Cluster Identifier",
c.create_time as "Create Time",
c.engine as "Engine",
c.engine_version as "Engine Version",
c.status as "Status",
c.availability_zones as "Availability Zones",
jsonb_array_length(c.members) as "Number of Instances",
c.tags as "Tags",
c.arn as "ARN",
c.account_id as "Account ID",
a.title as "Account",
c.region as "Region"
from
aws_rds_db_cluster as c
left join aws_account as a on c.account_id = a.account_id
order by
c.db_cluster_identifier;

Dashboards

The query is used in the dashboards: