Skip to content

Registers an Amazon ECS task definition and deploys it to an ECS service.

License

Notifications You must be signed in to change notification settings

miltonhit/amazon-ecs-deploy-task-definition

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 
 

Repository files navigation

Amazon ECS "Deploy Task Definition" Action for GitHub Actions

forked from aws-actions/amazon-ecs-deploy-task-definition

WTF?

This action performs exactly the same tasks as the original, with one important modification: You can directly pass an ARN into the task-definition input.

This is particularly useful when you manage/create your task definition using Terraform, CDK, the Serverless framework, or even CloudFormation itself.

Usage Example:

    - name: Deploy to Amazon ECS
      uses: miltonhit/amazon-ecs-deploy-task-definition@V2.0.3
      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

I've opened a PR on original repository. However, this has not been merged yet.

Enjoy 😊

About

Registers an Amazon ECS task definition and deploys it to an ECS service.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%