turbot/alicloud_thrifty

Control: ECS instances of type 12xlarge or higher should be reviewed

Description

Large ECS instances are unusual, expensive and should be reviewed.

Usage

steampipe check alicloud_thrifty.control.ecs_instance_large

Plugins & Tables

SQL

select
arn as resource,
case
when status not in ('Running', 'Pending', 'Starting') then 'info'
when instance_type like '%.__xlarge' then 'alarm'
else 'ok'
end as status,
title || ' has type ' || instance_type || ' and is ' || status || '.' as reason,
region,
account_id
from
alicloud_ecs_instance;

Tags