turbot/aws_insights

Query: ec2_classic_load_balancer_cross_zone_enabled

Usage

powerpipe query aws_insights.query.ec2_classic_load_balancer_cross_zone_enabled

SQL

select
'Cross Zone' as label,
case when cross_zone_load_balancing_enabled then 'Enabled' else 'Disabled' end as value,
case when cross_zone_load_balancing_enabled then 'ok' else 'alert' end as type
from
aws_ec2_classic_load_balancer
cross join jsonb_array_elements(availability_zones) as az
where
arn = $1;

Dashboards

The query is used in the dashboards: