turbot/tailpipe-mod-gcp-cloud-billing-insights

Query: cloud_billing_report_cost_by_location_dashboard_total_locations

Usage

powerpipe query gcp_cloud_billing_insights.query.cloud_billing_report_cost_by_location_dashboard_total_locations

SQL

select
'Locations' as label,
count(distinct coalesce(location.region, 'global')) as value
from
gcp_billing_report
where
('all' in ($1) or project_id in $1);

Params

ArgsNameDefaultDescriptionVariable
$1project_ids

    Dashboards

    The query is used in the dashboards: