turbot/aws_insights

Query: ec2_classic_load_balancers_for_s3_bucket

Usage

powerpipe query aws_insights.query.ec2_classic_load_balancers_for_s3_bucket

SQL

select
clb.arn as clb_arn
from
aws_ec2_classic_load_balancer clb,
aws_s3_bucket as b
where
b.arn = $1
and clb.access_log_s3_bucket_name = b.name;