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

purple-kilobyte-1629

03/28/2022, 5:14 PM
Hello! I'm using pulumi typescript and I need to access a configuration cross stacks. I already use StackReferences in my project but I noticed that the configs are not accessible cross stacks. Is there a way to access the configs
pulumi.Config
cross stacks? If not, is there an option to go around it in a clean way?
b

billowy-army-68599

03/28/2022, 5:15 PM
if you export the value
pulumi.export
it should be accessible, did you try that?
p

purple-kilobyte-1629

03/28/2022, 5:32 PM
Typescript does not have a
pulumi.export
(or I cannot find it in the docs). Could you please point me to the docs where I could read about it?
b

billowy-army-68599

03/28/2022, 5:39 PM
in typescript it's
export const variable
p

purple-kilobyte-1629

03/28/2022, 5:45 PM
ok, thank you!
3 Views