This message was deleted.
# general
s
This message was deleted.
w
What exactly are you looking for when you say “new project with an existing stack”? In general that isn’t really possible - the stack is an instance of some existing project. But there is likely a way to accomplish what you are looking for if you can share more details.
l
I just want to have multiple projects each with their own 'dev', 'prod', etc stacks
In other words, it doesn't necessarily need to be the same stack, I just want to have the same name
w
Are you using the local backend? I believe you are hitting https://github.com/pulumi/pulumi/issues/2522 which causes stack names to be a shared namespace across different projects when using the local backend whereas stack names are project-scoped in the Pulumi service backend. This is definitively something we want to fix as it leads to problems like you are seeing here. Mind upvoting that issue and/or adding details of your use case? FWIW - a workaround many folks use in practice is to use
<project>-<stack>
as the stack name.
l
Ahh okay, that makes sense. Yes, I've been using the local backend, as well as a GCS bucket.