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?

질문됨 2년 전198회 조회
1개 답변
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
답변함 2년 전
profile pictureAWS
전문가
Toni_S
검토됨 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠