buttonmen-dev / buttonmen

Buttonmen - an online dice game
Other
16 stars 23 forks source link

ECS deployment bugfix: make sure tasks exist before describing them #2919

Closed cgolubi1 closed 7 months ago

cgolubi1 commented 7 months ago

Partially addresses #2908

Each dev branch is its own ECS service (containing a single task). Without this change, the first time i create a dev cell for a new branch, the service is created before the task is created, and the script blows up trying to describe the empty tasks list.

I tested this change on both an ECS service with existing tasks, and an ECS service with no existing tasks.

blackshadowshade commented 7 months ago

Merging this now.