A CLI tool that allows to run a one-off ECS task
-
Build the app with
go build
-
mv ecs-run task /usr/local/bin
-
Use the command:
ecs-run-task --cluster myFargate --task-definition nginx --security-groups sg-xxx --subnets subnet-a,subnet-b,subnet-c --log-group ecs-log-group