Hey, how do I create a config variable as a list? ...
# general
b
Hey, how do I create a config variable as a list? This is for nodeLocations property for GKE cluster. pulumi.config doesn't support lists.
b
I saw this but this just works for objects(key value pairs). I just want a list of zones.
t
You can do arrays instead of object https://stackoverflow.com/revisions/56842796/1
b
ah perfect, I tried that earlier without the outside single quotes. Thanks for your help
t
Yeah, for the config file itself it's still a string, it just gets parsed by
getConfigObject
Added an array configuration back to the SO answer
b
great thanks