I think my question is more, how would I go about referencing the dev stack in the app project from the dev stack in the infra project using
StackReference
so I can access one of it's outputs, whilst doing this using the local file based state management
c
creamy-potato-29402
02/21/2019, 7:37 PM
cc @microscopic-florist-22719 who I think would know.
👍 1
m
microscopic-florist-22719
02/21/2019, 7:38 PM
You should be able to use the stack name just as you would with a cloud-backed stack.
s
salmon-morning-96600
02/21/2019, 8:40 PM
I have figured out a workaround. The problem is, the local login defaults to ~ So anywhere a project is defined, there will be a local state folder for that. The workaround was to login locally using a folder that could be referenced by all projects. In other words, all projects state will exist there, like at the root of a drive for example
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.