Load balancer has no target-group declaration in scanned input
What it checks
Load balancer has no target-group declaration in scanned input
Where it applies
Terraform: aws_lb, aws_alb
CloudFormation: AWS::ElasticLoadBalancingV2::LoadBalancer
How to fix it
- Verify listeners and rules, including valid ALB fixed-response and redirect functions, weighted forwarding, external or module-owned target groups and deployment transitions. This check considers declarations broadly; it does not verify attachment to this particular load balancer.
- If a change is justified, preserve subtype-specific requirements: Application, Network and Gateway load balancers have different listeners and targets. Gateway target groups use GENEVE port 6081 and Gateway listeners omit Application-style port/protocol configuration. Remove a load balancer only after confirming it is unused and coordinating with its owner.
Frameworks
- AWS Well-Architected COST.4
These mappings are advisory, not an attestation of compliance.