website: v0.15 upgrade guide had invalid example for tomap(...)

tomap expects an object value with braces, not a tuple value with brackets.
This commit is contained in:
sanflores 2021-04-19 14:20:03 -03:00 committed by GitHub
parent a0f221d04b
commit 751fba49a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ upgrading to Terraform v0.15:
```
If you need to update a module which was using the `map` function, you
can get the same result by replacing `map(...)` with `tomap([...])`.
can get the same result by replacing `map(...)` with `tomap({...})`.
For example:
```diff