https://pulumi.com logo
Title
m

most-mouse-38002

11/14/2022, 12:17 PM
With self hosted backends (e.g Azure blob storage) stack names are globally unique and not grouped under projects? Is that intentional?
e

echoing-dinner-19531

11/14/2022, 12:46 PM
https://github.com/pulumi/pulumi/issues/2522 Long standing issue we haven't got around to yet, I'm afraid.
m

most-mouse-38002

11/14/2022, 2:48 PM
Too bad, as it makes naming a total mess unless we create multiple blob storages for each project. Any idea when this will be fixed?
Is this issue a complicated one? Naively I would assume its enough to simply combine project_name+stack_name when writing and reading state?
e

echoing-dinner-19531

11/14/2022, 2:51 PM
I don't. I know most people either use multiple backends (i.e. make the project name part of the backend path) and set that in the Pulumi.yaml, or they just prefix all their stack names with the project name. The complexity is mostly one of making sure we don't break everyone in the move to the new semantics.
m

most-mouse-38002

11/14/2022, 2:54 PM
Fair enough, we opted for the last one for now, but it makes naming kinda chaotic. Hard to see how you would avoid breaking without separate paths, but I will follow this issue closely. Thank you 🙂