Skip to main content

A simple Fargate after Terraform runner.

Project description

terraecs

Terraecs is a simple cli tool to run a once-off ECS/Fargate task that relies on a terraformed infrastructure.

Motivation

  • I need to run a task (be it ror-rake, laravel-artisan, etc.) in a Fargate service environment
  • I use terraform for IaC, and I do not want to create rogue/unmaintainable resources via 3rd party (like how serverless-framework does it)
  • I do not want to change my IaC for every different task, but rather have a single task-definition and just run commands ad-hoc
  • These once-off tasks are dirty, I just want to have direct feedback on how it went (logs + exit status)

Usage

$ terraform output -module=custom_ecs_task -json > output.json
$ terraecs -f output.json run "command" "arg1" "arg2"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

terraecs-0.0.3.tar.gz (3.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page