Control: Unused disks should be removed
Unattached disks cost money and should be removed unless there is a business need to retain them.
Run the control in your terminal:
steampipe check gcp_thrifty.control.compute_disk_unattached
Snapshot and share results via Steampipe Cloud:
steampipe loginsteampipe check --share gcp_thrifty.control.compute_disk_unattached
Plugins & Tables
selectself_link as resource,casewhen users is null then 'alarm'else 'ok'end as status,casewhen users is null then title || ' has no attachments.'else title || ' has attachments.'end as reason,location,projectfromgcp_compute_disk;