aws gamelift cli how to wait for active fleet before changing alias.

0

Hi, I want to automate my pipeline so every build generates a new fleet and in turn our alias points to that fleet. However if I do that I get some down time between one fleet and the other. Is there a way to say cli to activate the fleet and wait for it to be active?

asked a year ago185 views
1 Answer
2

Hey!

While I don't think there's an inbuilt mechanism via the AWS CLI to do this, you should be able to write a command line script that polls periodically on the fleet status using the describe-fleet-attributes command. Note that this API has low call limits per second, so you should additionally ensure you have appropriate backoff and retry mechanisms in place to avoid getting throttled.

Thanks!

AWS
answered a year ago
profile pictureAWS
EXPERT
Toni_S
reviewed a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions