Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support passing deployment configuration #573

Open
rantoniuk opened this issue Jun 21, 2024 · 1 comment
Open

Support passing deployment configuration #573

rantoniuk opened this issue Jun 21, 2024 · 1 comment

Comments

@rantoniuk
Copy link

rantoniuk commented Jun 21, 2024

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 }}
@leojasmim
Copy link

I tried to use the codedeploy-deployment-config parameter but I get an error saying that this input is invalid even though it's in the action.yml definition.

image

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

No branches or pull requests

3 participants