2 variable "datacenters" {
3 description = "Specifies the list of DCs to be considered placing this task"
9 description = "Specifies the list of DCs to be considered placing this task"
14 variable "volume_source" {
15 description = "The name of the volume to request"
17 default = "prod-volume-data1-1"
21 variable "pm_version" {
22 description = "Prometheus version"
27 variable "auto_promote" {
28 description = "Specifies if the job should auto-promote to the canary version"
33 variable "auto_revert" {
34 description = "Specifies if the job should auto-revert to the last stable job"
40 description = "Equal to the count of the task group allows blue/green depl."
46 description = "CPU allocation"
51 variable "constraint_value" {
52 description = "The constraint allows restricting the set of eligible nodes."
58 description = "Prometheus DISK allocation"
63 variable "group_count" {
64 description = "Specifies the number of the task groups running under this one"
70 description = "Specifies a name for the job"
72 default = "prometheus"
75 variable "max_parallel" {
76 description = "Specifies the maximum number of updates to perform in parallel"
82 description = "Specifies the memory required in MB"
88 description = "Specifies the static TCP/UDP port to allocate"
93 variable "service_name" {
94 description = "Specifies the name this service will be advertised in Consul"
96 default = "prometheus"
99 variable "use_canary" {
100 description = "Uses canary deployment"
105 variable "use_host_volume" {
106 description = "Use Nomad host volume feature"
111 variable "artifact_source_checksum" {
112 description = "Prometheus release checksum"
114 default = "422dab055ed9c7bcaff52b718705f9192c6fac0de6b7e78dd278e70ee2663dcc"
117 variable "volume_destination" {
118 description = "Specifies where the volume should be mounted inside the task"
123 variable "vault_secret" {
125 use_vault_provider = bool,
126 vault_kv_policy_name = string,
127 vault_kv_path = string,
128 vault_kv_field_access_key = string,
129 vault_kv_field_secret_key = string
131 description = "Set of properties to be able to fetch secret from vault."
133 use_vault_provider = false
134 vault_kv_policy_name = "kv"
135 vault_kv_path = "secret/data/prometheus"
136 vault_kv_field_access_key = "access_key"
137 vault_kv_field_secret_key = "secret_key"