Merge pull request #7267 from hashicorp/docs-map-keys-numeric
docs: Mention map keys which start with a number
This commit is contained in:
commit
2b13e930ff
|
@ -75,6 +75,8 @@ Basic bullet point reference:
|
|||
|
||||
* Maps can be made with the `{}` syntax:
|
||||
`{ "foo": "bar", "bar": "baz" }`.
|
||||
Quotes may be omitted on keys, unless the key starts with a number,
|
||||
in which case quotes are required.
|
||||
|
||||
In addition to the basics, the syntax supports hierarchies of sections,
|
||||
such as the "resource" and "variable" in the example above. These
|
||||
|
|
Loading…
Reference in New Issue