turbot/aws_insights

Query: codebuild_project_cost_per_month

Usage

powerpipe query aws_insights.query.codebuild_project_cost_per_month

SQL

select
to_char(period_start, 'Mon-YY') as "Month",
sum(unblended_cost_amount) as "Unblended Cost"
from
aws_cost_by_service_usage_type_monthly
where
service = 'CodeBuild'
and usage_type like '%Build%'
group by
period_start
order by
period_start;

Dashboards

The query is used in the dashboards: