turbot/aws_insights

Query: cloudfront_distribution_by_account

Usage

powerpipe query aws_insights.query.cloudfront_distribution_by_account

SQL

select
a.title as "Account",
count(d.*) as "Distributions"
from
aws_cloudfront_distribution as d,
aws_account as a
where
a.account_id = d.account_id
group by
a.title
order by
a.title;

Dashboards

The query is used in the dashboards: