This message was deleted.
# general
s
This message was deleted.
a
Seems like you're asking for this: https://github.com/pulumi/pulumi/issues/2209
f
Not sure
It seems to overly complicate things. Just let me create or reference stack in one go within the API.
Copy code
let baseNetwork = new pulumi.Stack("pr-123", {
  config: {
    someStuff: "test", 
   },
   secrets: {
     somePassword: process.env["password"]
    }
});
if it doesn’t exist, it creates it. Every resource created after that is part of that stack.
I actually dislike the current design, my suggestion is an overhaul.
t
What happens if you create two or zero stacks?