aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.terraform/1n_nmd/variables.tf
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2021-11-08 12:50:51 +0100
committerPeter Mikus <pmikus@cisco.com>2021-11-11 07:25:59 +0000
commitdb7290d702450430e0d58e23f91e34407e08b41c (patch)
tree0350486f05197be82d57755df0dc17b4a71acc97 /fdio.infra.terraform/1n_nmd/variables.tf
parent5390d5cedf42ecc0d589d79a0a9d1b346ebb5c11 (diff)
feat(Terraform): Minio S3 gateway proxy
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I9543a856a2e5791b61accd7a183bc5a2bf2e6187
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