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

Query: cloud_billing_report_overview_dashboard_projects_input

Usage

powerpipe query gcp_cloud_billing_insights.query.cloud_billing_report_overview_dashboard_projects_input

Tailpipe Tables

SQL

with project_ids as (
select
distinct on(project_id)
project_id || ' (' || coalesce(project_name, '') || ')' as label,
project_id as value
from
gcp_billing_report
order by label
)
select
'All' as label,
'all' as value
union all
select
label,
value
from
project_ids;