mirror of
https://github.com/hashicorp/terraform.git
synced 2026-06-08 16:35:25 -04:00
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
1 changed files with 2 additions and 0 deletions
|
|
@ -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 a new issue