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" # ... } ```