turbot/aws_insights

Query: ec2_target_groups_for_ec2_application_load_balancer

Usage

powerpipe query aws_insights.query.ec2_target_groups_for_ec2_application_load_balancer

Steampipe Tables

SQL

select
tg.target_group_arn
from
aws_ec2_target_group tg
where
$1 in
(
select
jsonb_array_elements_text(tg.load_balancer_arns)
);