Skip to content

Releases: ikhrustalev/ecs-task-run

v1.0.0

10 Jan 17:05

Choose a tag to compare

Run one-off ECS tasks using configuration from an existing service. Perfect for migrations, scripts, and ad-hoc commands.

Features

  • Inherits task definition, networking, and launch type from existing service
  • Real-time CloudWatch log streaming in GitHub Actions output
  • Timeout support with automatic task termination
  • Shell wrapper options (sh, bash, or direct execution)
  • Exit code propagation — fails workflow if task fails
  • Fire-and-forget mode for async tasks

Usage

- uses: ikhrustalev/ecs-task-run@v1
  with:
    cluster_arn: arn:aws:ecs:us-east-1:123456789012:cluster/prod
    service_name: api-service
    command: rails db:migrate

See README for full documentation.

Related