https://pulumi.com logo
Title
c

crooked-pillow-11944

09/11/2021, 1:33 PM
There's no reference to my current project in the stack (dev.json) I just deployed. Where is project metadata stored (if at all) when using an s3 backend with the automation API?
b

bored-oyster-3147

09/11/2021, 10:09 PM
You can use a local backend and then explore the files. It’s the same as S3.
c

crooked-pillow-11944

09/11/2021, 10:26 PM
Right - but my question still stands - how is project metadata placed in a custom backend (s3 or local)? In my bucket I see directories for stacks, backups, and history
For now I'm just prepending my stacks with the project name
My problem has been that I've created multiple projects with the same stack name and the stack metadata is getting overwritten
b

bored-oyster-3147

09/12/2021, 6:21 PM
Sorry I misunderstood the specifics of what you were asking. Yes that is a known current limitation of all of the file-state backends. See here: https://github.com/pulumi/pulumi/issues/2522 In Pulumi SaaS stack names are unique to the project. In file-state backends stack names are globally unique.
c

crooked-pillow-11944

09/12/2021, 6:30 PM
Thanks for the link. It's easy enough to workaround this (i.e. prepending the project name)