open-nomad/jobspec/test-fixtures/service-check-initial-status.hcl
Alex Dadgar 556fb2562f Remove defaulting from parse and fix parser tests
This PR removes defaulting from the parse, fixes some regressions that
existed as part of the parser refactor and fixes the tests.
2017-02-22 12:30:05 -08:00

23 lines
429 B
HCL

job "check_initial_status" {
type = "service"
group "group" {
count = 1
task "task" {
service {
tags = ["foo", "bar"]
port = "http"
check {
name = "check-name"
type = "http"
interval = "10s"
timeout = "2s"
initial_status = "passing"
}
}
}
}
}