I've been using a Github Action to update an ECS service on AWS without any issue for a few months, but today it started failing with:
Error: Unsupported deployment controller: ECS
Which is really odd because it definitely is supported as it used to work (I've made no changes to the workflow at all).
The entire process is:
The step definition is as below:
- name: Deploy Amazon ECS 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
I've enabled debug logging but unfortunately there is no descriptive stack trace or any information as to why it's failing.
I've tried manually updating the ECS service on AWS directly and it works so the cluster is definitely fine.
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/384
And there's an open PR to fix it so hopefully that gets merged soon: https://github.com/aws-actions/amazon-ecs-deploy-task-definition/pull/385
EDIT: The issue has now been resolved and closed on the official repo
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With