open-nomad/jobspec/test-fixtures/regexp-constraint.hcl
2015-10-11 15:37:50 -04:00

7 lines
107 B
HCL

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