turbot/gcp_insights

Query: compute_disk_storage

Usage

powerpipe query gcp_insights.query.compute_disk_storage

Steampipe Tables

SQL

select
'Storage (GB)' as label,
sum(size_gb) as value
from
gcp_compute_disk
where
id = (split_part($1, '/', 1))::bigint
and project = split_part($1, '/', 2);

Dashboards

The query is used in the dashboards: