Rails Console ECS
Execute ruby scripts inside a running container (Tasks) in a ECS Cluster, this is a auxiliary type to allow executing full fledged scripts inside a rails console in ECS.
|yes||The name of the ECS Cluster.|
|yes||The name of the ECS service.|
|yes||The name of the running container of the ECS Task.|
|yes||ECS AWS Access Key ID.|
|yes||ECS AWS Secret Access Key.|
|yes||ECS AWS Region.|
The ECS task id is obtained dynamically listing it by its service name
In order for this to work the ECS need to be configured properly, check this additional information:
Run a ruby script inside an ECS container
runops tasks create --target rails-console-ecs-type -s 'puts "Hello World From ECS"'
- Executing an invalid ECS task will not result in an Runops Task error.