This message was deleted.
# general
s
This message was deleted.
b
Maybe the section on Outputs will be helpful here https://pulumi.io/reference/programming-model.html#output
s
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
cc @microscopic-florist-22719 who I think would know.
👍 1
m
You should be able to use the stack name just as you would with a cloud-backed stack.
s
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
C:\\pulumi_state
. That way I was able to use
StackReference
with the stack name as suggested.