Simple ECS restart
Features
This module contains logic for CLI: simple-ecs-restart-cli
It has serious trade-offs. This is considered for local development only.
- Red/green deployment. 1 -> 0 -> 1
- With the same task definition
- So it will pickup newest
latest
tag of docker image
If you want more features, such as green/blue deployment, setting env vars, different tags then look at ecs-deploy project.
Usage
It requires same env vars as aws-sdk
const ser = ; await ser;await ser;await ser;await serstart'us-east-1' 'dev' 'my-service';