Thanks for getting in touch! Unfortunately it’s not possible to configure the sub project to target a different environment here. The release of the project deployed via the Deploy a Release step has to target the same environment as the one the parent project is deploying to.
However there might be a different solution to achieve what you’re after. Would you be willing to expand on what’s requiring the sub project to deploy to a different environment at this time?
We found a way to do it by running a PowerShell script that calls Octo.exe.
By calling Octo.exe, we were able to deploy SUB PROJECT to environment B as part of the deployment of MAIN PROJECT to environment A.
Thanks for following up and letting me know your solution! Great to hear that works as you’re needing. Don’t hesitate to reach out if you have any questions or concerns going forward!