turbot/aws_insights

Query: ec2_classic_load_balancer_instances

Usage

powerpipe query aws_insights.query.ec2_classic_load_balancer_instances

SQL

select
'Instances' as label,
count(i) as value,
case when count(i) >= 1 then 'ok' else 'alert' end as type
from
aws_ec2_classic_load_balancer
cross join jsonb_array_elements(instances) as i
where
arn = $1;

Dashboards

The query is used in the dashboards: