question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Job Failing with "Error: Unsupported deployment controller: ECS"

See original GitHub issue

Description

Recent jobs (as of around 28 Sep 03:30 UTC) have started failing with the error:

Error: Unsupported deployment controller: ECS

The specific job in the workflow that’s failing is:

      - name: Deploy Amazon ECS backend service task definition
        uses: aws-actions/amazon-ecs-deploy-task-definition@v1
        with:
          task-definition: ${{ steps.task-def.outputs.task-definition }}
          service: ${{ env.ECS_SERVICE }}
          cluster: ${{ env.ECS_CLUSTER }}
          wait-for-service-stability: true
          wait-for-minutes: 8 

Previous jobs in the workflow (incl. Checkout, ECR Login, Building & pushing image to ECR, Filling in Task definition) are all passing.

Any idea what the problem could be?

Additional Notes:

  • Deployment directly from the Amazon ECS Web UI is working
  • There have been no changes to workflows since ~25th Sep, and there were successful deployments then.
  • Attached is a redacted version of the task definition

screenshot-20220928-042359

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:7
  • Comments:24 (3 by maintainers)

github_iconTop GitHub Comments

8reactions
dannyrandallcommented, Sep 30, 2022

Ok! The version with the patch has been released https://github.com/aws-actions/amazon-ecs-deploy-task-definition/releases/tag/v1.4.10. Please test it out and lmk if you’re still having any issues! Thank you all for reporting and thanks @astrike30 and @bradens for the deep dive and patch! ❤️

5reactions
mattbajorekcommented, Sep 30, 2022

Still having this issue as well.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Github Action Error: Unsupported deployment controller: ECS
It seems to be a known issue, the team have opened a Github issue: https://github.com/aws-actions/amazon-ecs-deploy-task-definition/issues/ ...
Read more >
External deployment - Amazon Elastic Container Service
The external deployment type allows you to use any third-party deployment controller for full control over the deployment process for an Amazon ECS...
Read more >
Serdar Gokay Kucuk - Unsupported deployment controller
Job Failing with "Error : Unsupported deployment controller: ECS" · Issue #384 · aws-actions/amazon-ecs-deploy-task-definition. github.com.
Read more >
aws.ecs.Service
Provides an ECS service - effectively a task that is expected to run ... External Deployment Controller ... The following state arguments are...
Read more >
class ECS. Client - Boto3 Docs 1.26.39 documentation - AWS
If a service uses either the CODE_DEPLOY or EXTERNAL deployment controller types and tasks that use the EC2 launch type, the minimum healthy...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found