aws_sdk_client allowlist, so the integration cannot mutate your load balancers or target groups.
Prerequisites
- AWS credentials configured per the AWS integration (role ARN recommended)
- An ELB v2 (ALB or NLB) target group you want OpenSRE to investigate
- IAM permissions for the two ELB describe actions listed below
Setup
Environment variables
The tool accepts
target_group_arns (canonical), the singular target_group_arn alias, and load_balancer_arn as parameters.
When invoked via resolved sources, it reads target_group_arns and load_balancer_arns from the resolved ec2 source (using the first load balancer ARN).
IAM permissions
The integration only needs two read-only ELB v2 actions:ReadOnlyAccess policy, both actions are already covered.
Verify
elb verify target. A successful AWS verify confirms credentials are valid; the ELB tool itself becomes available once a target group ARN or load balancer ARN is present in the resolved sources.
Tools
The tool becomes available to the planner whenever
target_group_arns, target_group_arn, or load_balancer_arn is present in the resolved ec2 sources.
Use cases
- Mapping a target group ARN or load balancer ARN to the EC2 instance IDs serving traffic
- Identifying unhealthy or draining targets correlated with a request-path alert
- Bridging DNS → LB → EC2 when investigating a non-Kubernetes topology
Gotcha
Multi-target-group ALBs are common — a single ALB can front several listener rules, each pointing at a different target group. Pass the fulltarget_group_arns list rather than a single target_group_arn if the load balancer has more than one target group, otherwise the tool only reports health for the one target group you named and unhealthy targets on the other groups will be silently missed.