Skip to main content

aws.autoscaling

Supported platform

  • aws

Description

AWS Auto Scaling

Use the aws.autoscaling resource to assess the configuration of AWS auto scaling groups within an AWS account. This resource provides the .groups field, which returns a list of all auto scaling groups configured across all enabled regions across the account.

Fields

IDTYPEDESCRIPTION
groups[]aws.autoscaling.groupList of autoscaling groups across the account

Examples

Return a list of all auto-scaling groups configured across all enabled regions across the account and the values for specified fields

aws.autoscaling.groups {
arn
healthCheckType
loadBalancerNames
name
}

Check that all autoscaling groups associated with a load balancer use health checks

aws.autoscaling.groups.where(loadBalancerNames.length > 0) {
healthCheckType == "ELB"
}

References