Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

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

@lobiCode

Description

@lobiCode

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.

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