Are maps supported for yaml? I'm getting error `* ...
# yaml
g
Are maps supported for yaml? I'm getting error
* unexpected configuration type 'map[string]interface {}': valid types are string, List<string>, number, List<number>, integer, List<integer>, boolean, List<number>
for
Copy code
config:
  cloud_run:resources:
    ingress: "all"
b
Nope, hit this same issue a few days ago
o
Not today, but you can use fn::fromjson to decode a JSON string into a map.
n
Just ran into this issue too. Seems like maps are supported in say
Pulumi.<stack_name>.yaml
but not in
Pulumi.yaml
image.png
nvm, this maps are possible, need to use
value
.