mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-11 08:05:33 -06: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
@ -75,6 +75,8 @@ Basic bullet point reference:
|
|||||||
|
|
||||||
* Maps can be made with the `{}` syntax:
|
* Maps can be made with the `{}` syntax:
|
||||||
`{ "foo": "bar", "bar": "baz" }`.
|
`{ "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,
|
In addition to the basics, the syntax supports hierarchies of sections,
|
||||||
such as the "resource" and "variable" in the example above. These
|
such as the "resource" and "variable" in the example above. These
|
||||||
|
Loading…
Reference in New Issue
Block a user