fabfuel / ecs-deploy

Powerful CLI tool to simplify Amazon ECS deployments, rollbacks & scaling
Other
854 stars 148 forks source link

Can't run commands on ECS-Deploy Docker image #149

Closed robertomoutinho closed 4 years ago

robertomoutinho commented 4 years ago
docker run fabfuel/ecs-deploy:1.7.1 ecs run uat uat-service -c service "rake db:migrate" --securitygroup sg-XXXXXXXX --subnet subnet-XXXXXXXXX --region us-east-2 --access-key-id `echo $AWS_ACCESS_KEY_ID` --secret-access-key `echo $AWS_SECRET_ACCESS_KEY`

Error: no such option: --securitygroup

and if I try to run it without the parameters

An error occurred (InvalidParameterException) when calling the RunTask operation: Network Configuration must be provided when networkMode 'awsvpc' is specified.
robertomoutinho commented 4 years ago

The documentation seems to be out of date... version 1.8.0 of the docker image works as expected

fabfuel commented 4 years ago

Indeed - good catch, thanks! The feature is only available from version 1.8.0. I will update the readme.

Best Fabian