I have created ProjectA with 2 stacks `dev` and `p...
# getting-started
f
I have created ProjectA with 2 stacks
dev
and
prod
. Using S3 as a state backend, there is a directory called
stacks
with the corresponding
dev
and
prod
json files. What if I create ProjectB with the same stack names though? How can Pulumi separate these stacks from the stacks of ProjectA? I guess I have to use more explicit names for my stacks?
e
Currently the recommendation is to include the project name as part of the stack name, we have https://github.com/pulumi/pulumi/issues/2522 to fix this.
👍 1
f
Thank you
So if I understand correctly, if I have a project named myinfra-ecs-cluster the stack name would be myinfra-ecs-cluster/staging? Also, what about stack's yaml file?
Nevermind I found it in this reply Thanks again