Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Unable to configure AWS ECS service deployment with x-aws-min_percent and x-aws-max_percent #8

Open
lobiCode opened this issue Jun 6, 2023 · 0 comments

Comments

@lobiCode
Copy link

lobiCode commented Jun 6, 2023

Description

I'm trying to configure an AWS ECS service deployment using the following YAML configuration:

services:
  foo:
    image: hello_world
    deploy:
      update_config:
        x-aws-min_percent: 0
        x-aws-max_percent: 100

However, it seems that the current implementation of the ecs package in goformation (https://github.com/awslabs/goformation/blob/master/cloudformation/ecs/aws-ecs-service_deploymentconfiguration.go#L31) includes omitempty on the MinimumHealthyPercent field, which prevents me from setting the x-aws-min_percent value to 0.

Is there any way to configure the AWS ECS service deployment to achieve the desired behavior? Please advise.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant