https://pulumi.com logo
b

brave-train-94833

08/18/2023, 10:25 AM
Hi lovely peeps, I got a quick question around stack configurations in
Pulumi.{}.yml
we often find our selfes having some of the config as environment variables for local development. Is there a way to expose the a stack config as env vars?
e

echoing-kite-20691

08/18/2023, 10:28 AM
I'm not aware of any built in support for this but I believe you can use something like direnv to achieve it
b

brave-train-94833

08/18/2023, 10:32 AM
Yes, that would require actually buillding an env file from the config as part of a stack
l

limited-rainbow-51650

08/18/2023, 12:18 PM
@brave-train-94833 I guess this maps to one of our future improvements, where resolving environment variables can be one of the lookup mechanism. Can you describe how you would like to see this working as a comment to that GH issue?