Infra: Do not strict check keys in Ansible
[csit.git] / fdio.infra.terraform / 1n_nmd / alertmanager / variables.tf
1 # Nomad
2 variable "nomad_datacenters" {
3   description = "Nomad data centers"
4   type        = list(string)
5   default     = [ "dc1" ]
6 }
7
8 # Alermanager
9 variable "alertmanager_job_name" {
10   description = "Job name"
11   type        = string
12   default     = "alertmanager"
13 }
14
15 variable "alertmanager_group_count" {
16   description = "Number of group instances"
17   type        = number
18   default     = 1
19 }
20
21 variable "alertmanager_service_name" {
22   description = "Service name"
23   type        = string
24   default     = "alertmanager"
25 }
26
27 variable "alertmanager_version" {
28   description = "Version"
29   type        = string
30   default     = "0.21.0"
31 }
32
33 variable "alertmanager_use_canary" {
34   description = "Uses canary deployment"
35   type        = bool
36   default     = false
37 }
38
39 variable "alertmanager_vault_secret" {
40   description = "Set of properties to be able to fetch secret from vault"
41   type        = object({
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
47   })
48 }
49
50 variable "alertmanager_cpu" {
51   description = "CPU allocation"
52   type        = number
53   default     = 1000
54 }
55
56 variable "alertmanager_mem" {
57   description = "RAM allocation"
58   type        = number
59   default     = 1024
60 }
61
62 variable "alertmanager_port" {
63   description = "TCP allocation"
64   type        = number
65   default     = 9093
66 }
67
68 variable "alertmanager_slack_jenkins_api_key" {
69   description = "Alertmanager jenkins slack API key"
70   type        = string
71   default     = "XXXXXXXXX/XXXXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX"
72 }
73
74 variable "alertmanager_slack_jenkins_receiver" {
75   description = "Alertmanager jenkins slack receiver"
76   type        = string
77   default     = "jenkins-slack-receiver"
78 }
79
80 variable "alertmanager_slack_jenkins_channel" {
81   description = "Alertmanager jenkins slack channel"
82   type        = string
83   default     = "jenkins-channel"
84 }
85
86 variable "alertmanager_slack_default_api_key" {
87   description = "Alertmanager default slack API key"
88   type        = string
89   default     = "XXXXXXXXX/XXXXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX"
90 }
91
92 variable "alertmanager_slack_default_receiver" {
93   description = "Alertmanager default slack receiver"
94   type        = string
95   default     = "default-slack-receiver"
96 }
97
98 variable "alertmanager_slack_default_channel" {
99   description = "Alertmanager default slack channel"
100   type        = string
101   default     = "default-channel"
102 }