Skip to content

trustfractal/aws-ecs-run-task

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS ECS Run Task

Runs a one-off task on AWS ECS Fargate.

Usage

- name: Run migration
  uses: noelzubin/aws-ecs-run-task@v1.0
  with:
    cluster: staging
    service: service

- name: Run more Migrations
  uses: noelzubin/aws-ecs-run-task@v1.0
  with:
    cluster: staging
    service: service
    override-container: server
    override-container-command: |
        sh
        -c
        cd database && python migrate.py

See action.yml file for the full documentation of this action's inputs and outputs.

Credentials and Region

This action relies on the default behavior of the AWS SDK for Javascript to determine AWS credentials and region. Use the aws-actions/configure-aws-credentials action to configure the GitHub Actions environment with environment variables containing AWS credentials and your desired region.

License Summary

This code is made available under the MIT license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%