turbot/aws_compliance

Query: autoscaling_group_multiple_az_configured

Usage

powerpipe query aws_compliance.query.autoscaling_group_multiple_az_configured

SQL

select
autoscaling_group_arn as resource,
case
when jsonb_array_length(availability_zones) > 1 then 'ok'
else 'alarm'
end as status,
title || ' has ' || jsonb_array_length(availability_zones) || ' availability zone(s).' as reason
, region, account_id
from
aws_ec2_autoscaling_group;

Controls

The query is being used by the following controls: