https://pulumi.com logo
n

nice-pharmacist-5320

01/27/2022, 6:00 PM
Hello everyone. I have all my env values set in pulumi config as I want pulumi stack to be the source of truth. I can list all the values by running
pulumi config -j
or get them one by one using
pulumi config <config_name>
but I want it in env. Is there a way to export all config from
pulumi config
to env? I have to set all of the config as env for a github action
o

orange-policeman-59119

01/28/2022, 8:00 PM
Hey Nikhil, could you help me understand what you're wanting to accomplish? You want to set all env vars from Pulumi config? I think you'd need to write a shell script to parse the output of pulumi config - the CLI tool
jq
might help here.