Merge pull request #7267 from hashicorp/docs-map-keys-numeric

docs: Mention map keys which start with a number
This commit is contained in:
James Nugent 2016-06-22 12:05:50 +03:00 committed by GitHub
commit 2b13e930ff
1 changed files with 2 additions and 0 deletions

View File

@ -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