fargatecli
fargatecli copied to clipboard
Support Synchronous Operations (--wait)
what
- It would be great if all commands supported a
--waitflag
why
- Allow the operator to chain commands together (E.g. via a
Makefile)
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