compose-x / ecs_composex

Manage, Configure and Deploy your services and AWS services and applications from your docker-compose definitions
https://docs.compose-x.io
Mozilla Public License 2.0
165 stars 17 forks source link

[FR] x-elbv2.Services - Support native CFN parameters for healthcheck #624

Closed JohnPreston closed 2 years ago

JohnPreston commented 2 years ago

Currently, the configuration for HealthCheck etc. of a target group is defined by using the Services definition list, which uses healthcheck which uses a one-liner regular expression.

I'd like to be able to set all the properties as they are defined in the TargetGroup

x-elbv2:
  Services:
    - name: family:service
      healthcheck:
        HealthCheckEnabled:
        HealthCheckIntervalSeconds:
        HealthCheckPath:
        HealthCheckPort:
        HealthCheckProtocol: 
        HealthCheckTimeoutSeconds:
        HealthyThresholdCount:
        UnhealthyThresholdCount:
        Matcher : <Matcher>

Matcher: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-targetgroup-matcher.html