Terraform error “InvalidParameterException: The target group with targetGroupArn arn:aws:xxx does not have an associated load balancer”. How to solve it?
Recently, while trying to create a Terraform stack for the infrastructure of an experimental app, I encountered this cryptic error. Here’s how to solve it.