gifted-island-55702
01/04/2019, 10:32 AMcuddly-eye-68174
01/04/2019, 11:43 AMgifted-island-55702
01/04/2019, 12:57 PMcuddly-eye-68174
01/04/2019, 1:25 PMwhite-balloon-205
config.getObject
which does JSON de-serialization of values so that you can import rich JSON-formatted values easily (including arrays). See https://pulumi.io/reference/programming-model.html#config.
Though, to support simple CLI configuration, I personally normally handle arrays just with .split(",")
.