When deploying with ecspresso deploy, the following error can occur if the target group is not associated with any load balancer:
The target group with targetGroupArn arn:aws:elasticloadbalancing:ap-northeast-1:xxxxxxxxxxxx:targetgroup/test/75b8f8312368687e does not have an associated load balancer
This kind of misconfiguration is difficult to catch early and only surfaces during the deployment process. To improve the developer experience and avoid runtime failures, it would be helpful if ecspresso verify could proactively check for such conditions.
Request
I'd like to propose enhancing ecspresso verify to:
- Check that each target group referenced by the ECS service is associated with at least one load balancer.
- Return an error or warning during verify if the target group is not properly configured.
When deploying with ecspresso deploy, the following error can occur if the target group is not associated with any load balancer:
This kind of misconfiguration is difficult to catch early and only surfaces during the deployment process. To improve the developer experience and avoid runtime failures, it would be helpful if ecspresso verify could proactively check for such conditions.
Request
I'd like to propose enhancing ecspresso verify to: