mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
37 lines
1.0 KiB
HCL
37 lines
1.0 KiB
HCL
# Copyright (c) HashiCorp, Inc.
|
|
# SPDX-License-Identifier: BUSL-1.1
|
|
|
|
variable "nodes_to_drain" {
|
|
description = "Number of clients to drain"
|
|
type = number
|
|
default = 1
|
|
}
|
|
|
|
variable "nomad_addr" {
|
|
description = "The Nomad API HTTP address."
|
|
type = string
|
|
default = "http://localhost:4646"
|
|
}
|
|
|
|
variable "ca_file" {
|
|
description = "A local file path to a PEM-encoded certificate authority used to verify the remote agent's certificate"
|
|
type = string
|
|
}
|
|
|
|
variable "cert_file" {
|
|
description = "A local file path to a PEM-encoded certificate provided to the remote agent. If this is specified, key_file or key_pem is also required"
|
|
type = string
|
|
}
|
|
|
|
variable "key_file" {
|
|
description = "A local file path to a PEM-encoded private key. This is required if cert_file or cert_pem is specified."
|
|
type = string
|
|
}
|
|
|
|
variable "nomad_token" {
|
|
description = "The Secret ID of an ACL token to make requests with, for ACL-enabled clusters."
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|