https://pulumi.com logo
Title
f

full-sugar-56177

11/09/2021, 9:25 AM
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

echoing-dinner-19531

11/09/2021, 10:20 AM
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

full-sugar-56177

11/09/2021, 10:58 AM
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