diff options
author | Peter Mikus <pmikus@cisco.com> | 2022-02-09 11:07:53 +0100 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2022-02-09 11:07:53 +0100 |
commit | bc676c9e1e5ef3545ef442db2023d7fcdfe3b034 (patch) | |
tree | 3b9e7081d0c30138441785fcf57b9c149469a0cc /fdio.infra.terraform/1n_nmd/prometheus/fdio/variables.tf | |
parent | 0bbb81c4fd1afdee6eb23ba4d49171d8dced6b19 (diff) |
feat(terraform): Refactor Prometheus
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Change-Id: I47a05fc0207d691d84c6e65c7b84997edab8e272
Diffstat (limited to 'fdio.infra.terraform/1n_nmd/prometheus/fdio/variables.tf')
-rw-r--r-- | fdio.infra.terraform/1n_nmd/prometheus/fdio/variables.tf | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/fdio.infra.terraform/1n_nmd/prometheus/fdio/variables.tf b/fdio.infra.terraform/1n_nmd/prometheus/fdio/variables.tf new file mode 100644 index 0000000000..7d5be09d21 --- /dev/null +++ b/fdio.infra.terraform/1n_nmd/prometheus/fdio/variables.tf @@ -0,0 +1,47 @@ +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://10.32.8.14:4646" +} + +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 "vault_provider_address" { + description = "Vault cluster address." + type = string + default = "http://10.30.51.28:8200" +} + +variable "vault_provider_skip_tls_verify" { + description = "Verification of the Vault server's TLS certificate." + type = bool + default = false +} + +variable "vault_provider_token" { + description = "Vault root token." + type = string + sensitive = true +}
\ No newline at end of file |