turbot/gcp_insights

Query: compute_disk_tags

Usage

powerpipe query gcp_insights.query.compute_disk_tags

Steampipe Tables

SQL

with jsondata as (
select
tags::json as tags
from
gcp_compute_disk
where
id = (split_part($1, '/', 1))::bigint
and project = split_part($1, '/', 2)
)
select
key as "Key",
value as "Value"
from
jsondata,
json_each_text(tags)
order by
key;

Dashboards

The query is used in the dashboards: