https://pulumi.com logo
#general
Title
# general
h

helpful-continent-74245

11/08/2018, 2:19 PM
Is it possible to use/retrieve the output value of one stack in another stack ?
w

white-balloon-205

11/08/2018, 5:08 PM
Currently you would need to do something manual like:
Copy code
pulumi config set <key> $(pulumi stack output <outname> --s sourceStack)
We're actively working on an alternative where you could do something more like
pulumi.getStack("lukehoban/mystack").output["outname"]
from within a Pulumi program to retrieve the outputs directly from another stack you have access to. https://github.com/pulumi/pulumi/issues/109 is tracking this.
h

helpful-continent-74245

11/09/2018, 10:56 AM
Thanks for the answer ! And eager to see this feature landing 😀