turbot/aws_compliance

Query: elb_classic_lb_multiple_az_configured

Usage

powerpipe query aws_compliance.query.elb_classic_lb_multiple_az_configured

SQL

select
arn as resource,
case
when jsonb_array_length(availability_zones) < 2 then 'alarm'
else 'ok'
end as status,
title || ' has ' || jsonb_array_length(availability_zones) || ' availability zone(s).' as reason
, region, account_id
from
aws_ec2_classic_load_balancer;

Controls

The query is being used by the following controls: