open-nomad/website/pages/docs/job-specification/hcl2
Mahmood Ali d0495e1b56
document some hcl2 quarks (#9545)
Mainly note that block labels need to be string literals, and that decimals without a leading significant digits aren't acceptable anymore (e.g. .9 are required to be 0.9).

Dynamic blocks can be used here, but feels too much of a hack, or a hammer to highlight it here, specially given the error reporting and debugging isn't so straightforward. I'd advocate internally for relaxing the restriction and allowing expressions in block labels instead.

Related to https://github.com/hashicorp/nomad/issues/9522
2020-12-07 12:31:25 -05:00
..
functions docs: add sidebar title for cidrsubnets (#9469) 2020-11-30 10:34:51 -05:00
expressions.mdx document some hcl2 quarks (#9545) 2020-12-07 12:31:25 -05:00
index.mdx document some hcl2 quarks (#9545) 2020-12-07 12:31:25 -05:00
locals.mdx Docs for HCL2 (#9322) 2020-11-29 20:36:41 -05:00
syntax.mdx Docs for HCL2 (#9322) 2020-11-29 20:36:41 -05:00
variables.mdx Docs for HCL2 (#9322) 2020-11-29 20:36:41 -05:00