aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.terraform/1n_nmd/variables.tf
diff options
context:
space:
mode:
Diffstat (limited to 'fdio.infra.terraform/1n_nmd/variables.tf')
-rw-r--r--fdio.infra.terraform/1n_nmd/variables.tf32
1 files changed, 28 insertions, 4 deletions
diff --git a/fdio.infra.terraform/1n_nmd/variables.tf b/fdio.infra.terraform/1n_nmd/variables.tf
index a575d0b51d..598770eb13 100644
--- a/fdio.infra.terraform/1n_nmd/variables.tf
+++ b/fdio.infra.terraform/1n_nmd/variables.tf
@@ -1,11 +1,35 @@
+variable "nomad_acl" {
+ description = "Nomad ACLs enabled/disabled"
+ type = bool
+ default = false
+}
+
variable "nomad_provider_address" {
description = "FD.io Nomad cluster address."
type = string
default = "http://nomad.service.consul:4646"
}
-variable "nomad_acl" {
- description = "Nomad ACLs enabled/disabled"
- type = bool
- default = false
+variable "nomad_provider_ca_file" {
+ description = "A local file path to a PEM-encoded certificate authority."
+ type = string
+ default = "/etc/nomad.d/ssl/nomad-ca.pem"
+}
+
+variable "nomad_provider_cert_file" {
+ description = "A local file path to a PEM-encoded certificate."
+ type = string
+ default = "/etc/nomad.d/ssl/nomad-cli.pem"
+}
+
+variable "nomad_provider_key_file" {
+ description = "A local file path to a PEM-encoded private key."
+ type = string
+ default = "/etc/nomad.d/ssl/nomad-cli-key.pem"
+}
+
+variable "token" {
+ description = "Vault root token"
+ type = string
+ sensitive = true
} \ No newline at end of file