Skip to content

Support passing deployment configuration #573

Open
@rantoniuk

Description

@rantoniuk

Related to #113

I'd like to specify deployment-configuration options, to basically achieve the same I can do with AWS CLI:

aws ecs update-service --cluster EcsCluster --service Service --task-definition task-def --force-new-deployment --deployment-configuration "minimumHealthyPercent=0"

It seems however the deployment-configuration is not supported at the moment.

Workaround in case someone needs this as well:

      - name: Deploy
        run: |
          aws ecs update-service --cluster ${{ env.ECS_CLUSTER }} --service ${{ env.ECS_SERVICE }} \
          --task-definition ${{ env.ECS_TASK_DEFINITION_FAMILY }} --force-new-deployment --deployment-configuration "minimumHealthyPercent=0"

      - name: Deploy (wait)
        run: |
          aws ecs wait services-stable --cluster ${{ env.ECS_CLUSTER }} --services ${{ env.ECS_SERVICE }}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions