Skip to main content

aws.autoscaling

Supported Platform

  • aws

Description

AWS Auto Scaling

The aws.autoscaling resource can be used to assess the configuration of AWS auto scaling groups within an AWS account. This resource provides the the .groups field which returns a list of aws.autoscaling.group resources representing 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 aws.autoscaling.group resources representing all auto scaling groups configured across all enabled regions across the account and the value for specified fields

aws.autoscaling.groups {
arn
healthCheckType
loadBalancerNames
name
}

Checks that all autoscaling groups assoc with a load balancer use health checks

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

References