This message was deleted.
# golang
s
This message was deleted.
c
pulumi.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)
l
You'll need to iterate through the map
Copy code
var m pulumi.Map
for k, v := range myMap {
m[k] = pulumi.Any(v)
}