X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=fdio.infra.terraform%2F1n_nmd%2Fvariables.tf;h=598770eb13d933a2e6e19dad3aac13301a53e414;hp=a575d0b51d7c342e9df336b0a403ba939aa89b36;hb=db7290d702450430e0d58e23f91e34407e08b41c;hpb=5390d5cedf42ecc0d589d79a0a9d1b346ebb5c11 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