mirror of https://github.com/hashicorp/terraform
The map function assumed that the key arguments were strings, and would
panic if they were not.
After this commit, calling `map(1, 2)` will result in a map `{"1" = 1}`,
and calling `map(null, 1)` will result in a syntax error.
Fixes #23346, fixes #23043
pull/24277/head
parent
0bd40fd496
commit
37006c5841
Loading…
Reference in new issue