Loading controls...
Control: Disks should be resized if too large
Description
Large disks are unusual, expensive and should be reviewed.
Usage
Run the control in your terminal:
steampipe check alicloud_thrifty.control.ecs_disk_large
Snapshot and share results via Steampipe Cloud:
steampipe loginsteampipe check --share alicloud_thrifty.control.ecs_disk_large
Plugins & Tables
Params
Args | Name | Default | Description | Variable |
---|---|---|---|---|
$1 | ecs_disk_max_size_gb |
| The maximum size in GB allowed for disks. |
SQL
select arn as resource, case when size <= $1 then 'ok' else 'alarm' end as status, disk_id || ' is ' || size || ' GiB.' as reason, account_id, regionfrom alicloud_ecs_disk;