Control: EBS volumes should be resized if too large
Description
Large EBS volumes are unusual, expensive and should be reviewed.
Usage
Run the control in your terminal:
powerpipe control run aws_thrifty.control.large_ebs_volumes
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_thrifty.control.large_ebs_volumes --share
Steampipe Tables
Params
Args | Name | Default | Description | Variable |
---|---|---|---|---|
$1 | ebs_volume_max_size_gb |
| The maximum size (GB) allowed for volumes. |
SQL
select arn as resource, case when size <= $1 then 'ok' else 'alarm' end as status, volume_id || ' is ' || size || 'GB.' as reason , region, account_idfrom aws_ebs_volume;