amazon-ecs-deploy-task-definition icon indicating copy to clipboard operation
amazon-ecs-deploy-task-definition copied to clipboard

Option to Directly Specify taskDefinitionArn as an Input Parameter

Open miltonhit opened this issue 1 year ago • 8 comments

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.

miltonhit avatar Oct 21 '23 01:10 miltonhit

I was looking for this option, is it something that has been considered for merge?

fabn avatar Jan 03 '24 17:01 fabn

It would be great to have that feature.

crissdev avatar Jan 25 '24 10:01 crissdev

@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

miltonhit avatar Jan 25 '24 11:01 miltonhit

thanks @miltonhit. I'm currently using some of that in my fork.

crissdev avatar Jan 25 '24 12:01 crissdev