amazon-ecs-deploy-task-definition
amazon-ecs-deploy-task-definition copied to clipboard
Option to Directly Specify taskDefinitionArn as an Input Parameter
Description of changes: Added conditional logic to support both direct task definition ARN or task definition files in ECS task registration.
With this enhancement, you will be able to create or register your task definition using external tools like CloudFormation, Amazon CDK, or the Serverless Framework. Once registered, simply submit it here for streamlined deployment and await a successful response.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
I was looking for this option, is it something that has been considered for merge?
It would be great to have that feature.
@fabn @crissdev Unfortunately this repository is abandoned :(
I've done this change in a fork. If you want to use or fork:
- name: Deploy to Amazon ECS
uses: miltonhit/[email protected]
with:
task-definition: arn:aws:ecs:<region>:<aws_account_id>:task-definition/<task_definition_name>:<revision_number>
service: my-service
cluster: my-cluster
wait-for-service-stability: true
Repo: https://github.com/miltonhit/amazon-ecs-deploy-task-definition
thanks @miltonhit. I'm currently using some of that in my fork.