echo "# $(date) Starting targets..."
/usr/local/bin/aws --profile jenkins ec2 start-instances --instance-ids ${targets}

echo "# $(date) Waiting for targets to start..."
/usr/local/bin/aws --profile jenkins ec2 wait instance-running --instance-ids ${targets}
