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 = "persistence"
21 variable "am_version" {
22 description = "Alertmanager 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 "group_count" {
52 description = "Specifies the number of the task groups running under this one"
58 description = "Specifies a name for the job"
60 default = "alertmanager"
63 variable "max_parallel" {
64 description = "Specifies the maximum number of updates to perform in parallel"
70 description = "Specifies the memory required in MB"
76 description = "Specifies the static TCP/UDP port to allocate"
81 variable "service_name" {
82 description = "Specifies the name this service will be advertised in Consul"
84 default = "alertmanager"
87 variable "use_canary" {
88 description = "Uses canary deployment"
93 variable "use_host_volume" {
94 description = "Use Nomad host volume feature"
99 variable "vault_secret" {
101 use_vault_provider = bool,
102 vault_kv_policy_name = string,
103 vault_kv_path = string,
104 vault_kv_field_access_key = string,
105 vault_kv_field_secret_key = string
107 description = "Set of properties to be able to fetch secret from vault."
109 use_vault_provider = false
110 vault_kv_policy_name = "kv"
111 vault_kv_path = "secret/data/alertmanager"
112 vault_kv_field_access_key = "access_key"
113 vault_kv_field_secret_key = "secret_key"
117 variable "volume_destination" {
118 description = "Specifies where the volume should be mounted inside the task"
123 variable "slack_jenkins_api_key" {
124 description = "Alertmanager jenkins slack API key"
126 default = "XXXXXXXXX/XXXXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX"
129 variable "slack_jenkins_receiver" {
130 description = "Alertmanager jenkins slack receiver"
132 default = "jenkins-slack-receiver"
135 variable "slack_jenkins_channel" {
136 description = "Alertmanager jenkins slack channel"
138 default = "jenkins-channel"
141 variable "slack_default_api_key" {
142 description = "Alertmanager default slack API key"
144 default = "XXXXXXXXX/XXXXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX"
147 variable "slack_default_receiver" {
148 description = "Alertmanager default slack receiver"
150 default = "default-slack-receiver"
153 variable "slack_default_channel" {
154 description = "Alertmanager default slack channel"
156 default = "default-channel"