Getting an optional string[ ] from the config seem...
# general
Getting an optional string[] from the config seems more difficult than necessary - am I missing something?
Copy code
let additionalZones: string[] = []
if (config.get('clusterAdditionalZones')) {
  additionalZones = config.get('clusterAdditionalZones')!.split(',')
export const clusterAdditionalZones = additionalZones
with config yml:
Copy code
  deployment:clusterAdditionalZones: us-central1-a,us-central1-b
I tried a string[] in the yaml and it rejected it with
line 7: cannot unmarshal !!seq into string
We don't yet support lists or maps in the Pulumi config yaml files, but it's on the roadmap.
👍 1