turbot/aws_insights

Query: rds_db_instance_by_account

Usage

powerpipe query aws_insights.query.rds_db_instance_by_account

SQL

select
a.title as "Account",
count(i.*) as "total"
from
aws_rds_db_instance as i,
aws_account as a
where
a.account_id = i.account_id
group by
a.title
order by
count(i.*) desc;

Dashboards

The query is used in the dashboards: