awslabs / fargatecli

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

Support Synchronous Operations (--wait) #66

Open osterman opened 5 years ago

osterman commented 5 years ago

what

why

example

fargate certificate request $(DOMAIN) --alias $(HOSTNAME) --wait
fargate certificate validate $(DOMAIN) --wait
fargate lb create atlantis \
        --cluster $(CLUSTER) \
        --certificate $(DOMAIN) \
        --port HTTPS:443 \
                 --wait
fargate lb alias atlantis $(HOSTNAME) --wait
fargate service create atlantis \
        --cluster $(CLUSTER) \
        --lb atlantis \
        --num 1 \
        --cpu 256 \
        --memory 2048 \
        --port "HTTP:80" \
        --rule "PATH=/*" \
        --env "TEST=123" \
        --image nginx:latest \
                 --wait