https://pulumi.com logo
Title
f

fast-hamburger-46413

09/15/2019, 2:22 AM
Hello all, just curious, is there any example that shows reading the config (
pulumi up -c var1=val1,var2=val2
) and / or configuration files (
pulumi up --config-file
) in the python code?
l

little-river-49422

09/15/2019, 7:11 AM
i think config is yaml file, you can create config value with
pulumi config varname varvalue
afair
🙇‍♂️ 1
👍 1
and after that you can look at the config generated and mimic it
f

fast-hamburger-46413

09/15/2019, 8:30 AM
@little-river-49422 Sorry to bother you again, how to pass dictionary / list in config?
l

little-river-49422

09/15/2019, 6:57 PM
not sure, comma separated values? you can do anything with config values, so you can just parse them
f

fast-hamburger-46413

09/15/2019, 6:57 PM
Nay, I mean like dictionary or list.
l

little-river-49422

09/15/2019, 6:58 PM
yeah, i dont know 😉 sorry
might not be possible
read the help for
pulumi config
?
f

fast-hamburger-46413

09/15/2019, 6:59 PM
Did. Not really mentioned on this part.