turbot/aws_insights

Query: ecs_cluster_by_account

Usage

powerpipe query aws_insights.query.ecs_cluster_by_account

SQL

select
a.title as "Account",
count(c.*) as "clusters"
from
aws_ecs_cluster as c,
aws_account as a
where
a.account_id = c.account_id
group by
a.title
order by
a.title;

Dashboards

The query is used in the dashboards: