2 variable "nomad_datacenters" {
3 description = "Nomad data centers"
9 variable "alertmanager_job_name" {
10 description = "Job name"
12 default = "alertmanager"
15 variable "alertmanager_group_count" {
16 description = "Number of group instances"
21 variable "alertmanager_service_name" {
22 description = "Service name"
24 default = "alertmanager"
27 variable "alertmanager_version" {
28 description = "Version"
33 variable "alertmanager_use_canary" {
34 description = "Uses canary deployment"
39 variable "alertmanager_vault_secret" {
40 description = "Set of properties to be able to fetch secret from vault"
42 use_vault_provider = bool,
43 vault_kv_policy_name = string,
44 vault_kv_path = string,
45 vault_kv_field_access_key = string,
46 vault_kv_field_secret_key = string
50 variable "alertmanager_cpu" {
51 description = "CPU allocation"
56 variable "alertmanager_mem" {
57 description = "RAM allocation"
62 variable "alertmanager_port" {
63 description = "TCP allocation"
68 variable "alertmanager_slack_jenkins_api_key" {
69 description = "Alertmanager jenkins slack API key"
71 default = "XXXXXXXXX/XXXXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX"
74 variable "alertmanager_slack_jenkins_receiver" {
75 description = "Alertmanager jenkins slack receiver"
77 default = "jenkins-slack-receiver"
80 variable "alertmanager_slack_jenkins_channel" {
81 description = "Alertmanager jenkins slack channel"
83 default = "jenkins-channel"
86 variable "alertmanager_slack_default_api_key" {
87 description = "Alertmanager default slack API key"
89 default = "XXXXXXXXX/XXXXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX"
92 variable "alertmanager_slack_default_receiver" {
93 description = "Alertmanager default slack receiver"
95 default = "default-slack-receiver"
98 variable "alertmanager_slack_default_channel" {
99 description = "Alertmanager default slack channel"
101 default = "default-channel"