turbot/gcp_insights

Query: compute_instance_attached_disks

Usage

powerpipe query gcp_insights.query.compute_instance_attached_disks

Steampipe Tables

SQL

select
d ->> 'deviceName' as "Device Name",
d ->> 'diskSizeGb' as "Disk Size (GB)",
d ->> 'interface' as "Interface",
d ->> 'mode' as "Mode",
d ->> 'boot' as "Boot",
d ->> 'autoDelete' as "Auto-Delete"
from
gcp_compute_instance,
jsonb_array_elements(disks) as d
where
id = $1;

Dashboards

The query is used in the dashboards: