I'm using the following command to increase the desired capacity of an autoscaling group so that it scales up by 1 instance from 2 to 3:
aws autoscaling update-auto-scaling-group --region eu-west-1 \
--auto-scaling-group-name $ASG_NAME \
--desired-capacity 3
What I would like to do is to be able to specify the zone the new instance runs in, but from my experiments so far, I have not found a way of achieving this. I tried using the --availability-zones flag, but this is to add availability zones to the autoscaling group, so not what I'm looking for.
Does anyone know if this is possible?