fargatecli icon indicating copy to clipboard operation
fargatecli copied to clipboard

Support Synchronous Operations (--wait)

Open osterman opened this issue 7 years ago • 0 comments

what

  • It would be great if all commands supported a --wait flag

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

osterman avatar Oct 05 '18 02:10 osterman