turbot/alicloud_thrifty

Control: Unattached external IP addresses should be released

Description

Unattached external IPs cost money and should be released.

Usage

steampipe check alicloud_thrifty.control.vpc_eip_unattached

Plugins & Tables

SQL

select
'acs:vpc:' || region || ':' || account_id || ':' || 'eip/' || allocation_id as resource,
case
when status = 'Available' then 'alarm'
else 'ok'
end as status,
case
when status = 'Available' then ip_address || ' not attached.'
else ip_address || ' is attached.'
end as reason,
region,
account_id
from
alicloud_vpc_eip;

Tags