2 variable "nomad_datacenters" {
3 description = "Nomad data centers"
8 variable "nomad_host_volume" {
9 description = "Nomad Host Volume"
11 default = "persistence"
15 variable "prometheus_job_name" {
16 description = "Prometheus job name"
18 default = "prometheus"
21 variable "prometheus_group_count" {
22 description = "Number of prometheus group instances"
27 variable "prometheus_service_name" {
28 description = "Prometheus service name"
30 default = "prometheus"
33 variable "prometheus_version" {
34 description = "Prometheus version"
39 variable "prometheus_use_canary" {
40 description = "Uses canary deployment"
45 variable "prometheus_vault_secret" {
46 description = "Set of properties to be able to fetch secret from vault"
48 use_vault_provider = bool,
49 vault_kv_policy_name = string,
50 vault_kv_path = string,
51 vault_kv_field_access_key = string,
52 vault_kv_field_secret_key = string
56 variable "prometheus_cpu" {
57 description = "Prometheus CPU allocation"
62 variable "prometheus_mem" {
63 description = "Prometheus RAM allocation"
68 variable "prometheus_port" {
69 description = "Prometheus TCP allocation"
74 variable "prometheus_data_dir" {
75 description = "Prometheus DISK allocation"
80 variable "prometheus_use_host_volume" {
81 description = "Use Nomad host volume feature"