This message was deleted.
s
This message was deleted.
o
I’m trying to use Google Cloud Storage as a backend with multiple projects. It seems that stacks get plainly stored in
<bucket>/.pulumi/stacks
so there seens to be no option to use a single self-managed backend for multiple projects, is that correct?
It doesn’t seem to be the case: https://github.com/pulumi/pulumi/issues/2522
p
This is more like a convention because of the limitations of the custom backends… We do use inter stack references across projects. the important part to know is: if you use backends other then pulumi.com , then you should/must include the name of the project in the stack name and use the same backend for all you projects. e.g. if your project is called
my-project
, then your stacks for that project should be called something like this:
my-project.prod
and get the reference like this:
Copy code
const infra = new pulumi.StackReference(`my-project.prod`);
👍 1
o
Thank you for sharing Domi!
👍 1