turbot/aws_insights

Query: ec2_gateway_load_balancers_for_vpc_subnet

Usage

powerpipe query aws_insights.query.ec2_gateway_load_balancers_for_vpc_subnet

SQL

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