From 17ff991a49c48034e97747bfe8cd0dabba0f84ee Mon Sep 17 00:00:00 2001 From: James Rasell Date: Fri, 21 May 2021 15:20:46 +0200 Subject: [PATCH] docs: fix jobspec hcl2 locals example. --- website/content/docs/job-specification/hcl2/locals.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/website/content/docs/job-specification/hcl2/locals.mdx b/website/content/docs/job-specification/hcl2/locals.mdx index 278e816f410..90c23d00793 100644 --- a/website/content/docs/job-specification/hcl2/locals.mdx +++ b/website/content/docs/job-specification/hcl2/locals.mdx @@ -31,7 +31,8 @@ locals { } # Local values can be interpolated elsewhere using the "local." prefix. -job "${local.name_prefix}_loadbalancer" { +job "example_loadbalancer" { + name = "${local.name_prefix}_loadbalancer" # ... } ```