sparse-intern-71089
12/01/2020, 7:53 AMclever-byte-21551
12/01/2020, 8:14 AMpulumi.Map
is basically a map[string]Input
So you can write a function that uses reflection and constructs map properly (note that you will need to convert each type to its pulumi counterpart)lemon-agent-27707
12/01/2020, 5:51 PMvar m pulumi.Map
for k, v := range myMap {
m[k] = pulumi.Any(v)
}