https://pulumi.com logo
Title
g

great-sunset-355

10/12/2021, 8:32 AM
Is there a more natural way to set the List config value other than this?
pulumi config set --path names[0]
p

prehistoric-activity-61023

10/12/2021, 8:37 AM
you can edit related YAML file manually (this is what I usually do)
I use
pulumi config …
commands only for managing secrets.
g

great-sunset-355

10/12/2021, 8:46 AM
how do you synchronise the yaml file to remote after editing it manually?
pulumi up
?
p

prehistoric-activity-61023

10/12/2021, 8:50 AM
yep, that should do the trick 🙂
g

great-sunset-355

10/12/2021, 8:54 AM
okay thank you, I'll give it a try
r

red-match-15116

10/12/2021, 3:56 PM
You can also just set the whole list as a json string.
pulumi config set names '["foo", "bar", "baz"]'
👍 1