https://pulumi.com logo
e

eager-pillow-75917

04/23/2020, 11:19 AM
Hi, is there a way to reference resources from another stack in the community version? I am storing my stacks in a GCS bucket.
r

rhythmic-finland-36256

04/23/2020, 12:03 PM
If I remember correctly, stack references work with other backends, too - as long as the projects are managed in the same backend. So if you have one GCS bucket with several projects (and stacks) the files are somehow named
Pulumi-project-stack.yaml
and you can reference other projects like that (omitting your user name part of the reference name) I think it is not possbile to reference some pulumi service managed stack from a project from inside your own backend because the backend is somehow a global configuration of the pulumi run. Please pulumi staff correct me if I’m wrong.