mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 17:35:43 +03:00
docs: fix jobspec hcl2 locals example.
This commit is contained in:
@@ -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"
|
||||
# ...
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user