Skip to content

Proposal: Add check in ecspresso verify for unassociated Target Groups #851

@kamadakohei

Description

@kamadakohei

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions