open-nomad/jobspec/test-fixtures/service-check-initial-status.hcl
2023-04-10 15:36:59 +00:00

32 lines
619 B
HCL

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
job "check_initial_status" {
type = "service"
group "group" {
count = 1
task "task" {
service {
tags = ["foo", "bar"]
port = "http"
check {
name = "check-name"
type = "http"
path = "/"
method = "POST"
interval = "10s"
timeout = "2s"
initial_status = "passing"
header {
Authorization = ["Basic ZWxhc3RpYzpjaGFuZ2VtZQ=="]
}
}
}
}
}
}