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"
21 variable "gl_version" {
22 description = "Grafana Loki 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"
52 description = "Loki data dir allocation"
57 variable "group_count" {
58 description = "Specifies the number of the task groups running under this one"
64 description = "Specifies a name for the job"
69 variable "max_parallel" {
70 description = "Specifies the maximum number of updates to perform in parallel"
76 description = "Specifies the memory required in MB"
82 description = "Specifies the static TCP/UDP port to allocate"
87 variable "service_name" {
88 description = "Specifies the name this service will be advertised in Consul"
93 variable "use_canary" {
94 description = "Uses canary deployment"
99 variable "use_host_volume" {
100 description = "Use Nomad host volume feature"
105 variable "volume_destination" {
106 description = "Specifies where the volume should be mounted inside the task"
111 variable "vault_secret" {
113 use_vault_provider = bool,
114 vault_kv_policy_name = string,
115 vault_kv_path = string,
116 vault_kv_field_access_key = string,
117 vault_kv_field_secret_key = string
119 description = "Set of properties to be able to fetch secret from vault."
121 use_vault_provider = false
122 vault_kv_policy_name = "kv"
123 vault_kv_path = "secret/data/prometheus"
124 vault_kv_field_access_key = "access_key"
125 vault_kv_field_secret_key = "secret_key"