Hi there, Anyone know how to add and read environ...
# general
e
Hi there, Anyone know how to add and read environment variable in
pulumi.yaml
? I have variables in an .env file but when I run
pulumi up
those variables are not uploaded.
l
The golang YAML marshaller doesn't do this, and I can't see where in the Pulumi code it might be supported. In theory you could generate your Pulumi.yaml from your environment before you run pulumi. What Pulumi property are you looking to get from the environmnet?
e
I wanted to do something like that. but I realized that with the .env file I can do it. Thank you very much for making that clear to me: D
l
Not sure how I helped, but you're welcome 🙂