turbot/gcp_thrifty

Control: Unused external IP addresses should be removed

Description

Unattached external IPs cost money and should be released.

Usage

Run the control in your terminal:

powerpipe control run gcp_thrifty.control.compute_address_unattached

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run gcp_thrifty.control.compute_address_unattached --share

Steampipe Tables

SQL

select
self_link as resource,
case
when status != 'IN_USE' then 'alarm'
else 'ok'
end as status,
case
when status != 'IN_USE' then address || ' not attached.'
else address || ' attached.'
end as reason
, location, project
from
gcp_compute_address;

Tags