website: Fix various typos in the config function documentation
This commit is contained in:
parent
36bb9b462c
commit
fddb52f05c
|
@ -27,7 +27,7 @@ are constructed from consecutive pairs of arguments.
|
|||
{
|
||||
"a" = "b"
|
||||
"c" = "d"
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
Do not use the above form in Terraform v0.12 or above. Instead, use the
|
||||
|
@ -38,7 +38,7 @@ built-in map construction syntax, which achieves the same result:
|
|||
{
|
||||
"a" = "b"
|
||||
"c" = "d"
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
## Related Functions
|
||||
|
|
|
@ -36,7 +36,7 @@ Since Terraform's concept of a set requires all of the elements to be of the
|
|||
same type, mixed-typed elements will be converted to the most general type:
|
||||
|
||||
```
|
||||
> tolist(["a", "b", 3])
|
||||
> toset(["a", "b", 3])
|
||||
[
|
||||
"a",
|
||||
"b",
|
||||
|
@ -49,7 +49,7 @@ ordering of the argument elements is lost and any duplicate values are
|
|||
coalesced:
|
||||
|
||||
```
|
||||
> tolist(["c", "b", "b"])
|
||||
> toset(["c", "b", "b"])
|
||||
[
|
||||
"b",
|
||||
"c",
|
||||
|
|
Loading…
Reference in New Issue