turbot/aws_insights

Query: ec2_application_load_balancers_for_vpc_subnet

Usage

powerpipe query aws_insights.query.ec2_application_load_balancers_for_vpc_subnet

SQL

select
arn as alb_arn
from
aws_ec2_application_load_balancer,
jsonb_array_elements(availability_zones) as az
where
az ->> 'SubnetId' = $1;