turbot/steampipe-mod-aws-compliance

Control: Auto Scaling groups should not have any suspended processes

Description

Ensure that there are no Auto Scaling Groups (ASGs) with suspended processes provisioned in your AWS account in order to avoid disrupting the auto scaling workflow.

Usage

Run the control in your terminal:

powerpipe control run aws_compliance.control.autoscaling_group_no_suspended_process

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run aws_compliance.control.autoscaling_group_no_suspended_process --share

SQL

This control uses a named query:

select
autoscaling_group_arn as resource,
case
when suspended_processes is null then 'ok'
else 'alarm'
end as status,
case
when suspended_processes is null then title || ' has no suspended process.'
else title || ' has suspended process.'
end as reason
, region, account_id
from
aws_ec2_autoscaling_group;

Tags