open-nomad/jobspec/test-fixtures/regexp-constraint.hcl
2019-10-11 14:00:05 +02:00

7 lines
98 B
HCL

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