bad9a82df8
Running `make dev` runs `hclfmt`, but this isn't checked as part of CI. That makes it possible to merge un-formatted HCL and Nomad jobspecs that later will make for dirty git staging areas when developers pull master. This changeset adds HCL linting to the `make check` target.
20 lines
251 B
HCL
20 lines
251 B
HCL
job "elastic" {
|
|
group "group" {
|
|
scaling {
|
|
enabled = false
|
|
min = 5
|
|
max = 100
|
|
|
|
policy {
|
|
foo = "right"
|
|
b = true
|
|
}
|
|
|
|
policy {
|
|
foo = "wrong"
|
|
c = false
|
|
}
|
|
}
|
|
}
|
|
}
|