Can pulumi pull in shell environment variables? Li...
# general
p
Can pulumi pull in shell environment variables? Like lets say we dont want to store it in the config file but rather store some shell vars in a jenkins secret. Is there a way to access that in pulumi?
b
if your language or platform of choice can access environment variables. Not really a pulumi limitation
👍 1
g
Also note that supported env vars are documented in the API reference docs. Here’s an example for AWS region: https://www.pulumi.com/docs/reference/pkg/aws/provider/#region_nodejs
p
@bored-oyster-3147 I didnt say it was a limitation of pulumi I was just intersted in seeing if pulumi can access exported variables other than from a config file. @gorgeous-egg-16927 thanks
b
I didn't mean to imply that you said that. What I meant was, "if it were not possible, it wouldn't be because of pulumi"
p
No worries 😉