open-nomad/jobspec/test-fixtures/regexp-constraint.hcl

7 lines
107 B
HCL

job "foo" {
constraint {
attribute = "$attr.kernel.version"
regexp = "[0-9.]+"
}
}