awslabs / fargatecli

CLI for AWS Fargate
Apache License 2.0
893 stars 114 forks source link

specify service using environment variable #46

Closed jritsema closed 6 years ago

jritsema commented 6 years ago

Similar to #45, this makes the serviceName cli arg optional if specifying it via an environment variable FARGATE_SERVICE.

export FARGATE_CLUSTER=my-cluster
export FARGATE_SERVICE=my-service

fargate service ps
fargate service scale 10
fargate service info
# etc

instead of

fargate --cluster my-cluster service info my-service
donwb commented 6 years ago

👍

jritsema commented 6 years ago

Closing since we've released this in our fork.

https://github.com/turnerlabs/fargate/releases/tag/v0.3.0