@bright-orange-69401 We’re doing the same thing basically, and I suspect so far (I could be wrong) that the answer is no.
We got a build script that manages that.
It sets everything as you wanted, creating the stacks and then runs pulumi.
Initially, I would want the ability to create stacks and configs from INSIDE pulumi, but as far as I know that is not possible.
It’s a shame, it’s so close though. It’s a missed opportunity and somewhat of design flaw.
Stacks should be part of pulumi runtime, not created from outside.
As in creating or using a stack should be part of the index.ts/runtime, not something from CLI.
I shouldn’t need to have created the stack and use it before running pulumi, the opposite actually. It should be created/used as you run pulumi.