When we run n instances of a job, we have the instances marked from [0, n-1]. When using the addInstances() API, we also need to specify the active instance ID for the job to scale up. How can I find a list of active instance IDs? The JobStats structure only has the count and not the IDs themselves.
My scenario for testing this was: Called the addInstances API for a job with instanceID parameter as 0 => worked fine. I used the aurora CLI `aurora job kill ../../../../0 to kill the task with instance id 0, and then called addInstances with parameter 0 => errors out. In this scenario, I should query the active instanceIDs of the job, and pass it as a parameter to addInstances. Thanks. -- κρισhναν
