Skip to content

Commit

Permalink
Merge pull request #10634 from hashicorp/b-docs-fix-hcl2-locals-example
Browse files Browse the repository at this point in the history
docs: fix jobspec hcl2 locals example.
  • Loading branch information
jrasell authored May 24, 2021
2 parents 6b083c2 + 17ff991 commit 8e91f6f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion website/content/docs/job-specification/hcl2/locals.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
# ...
}
```
Expand Down

0 comments on commit 8e91f6f

Please sign in to comment.