-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathvaiables.tf
77 lines (66 loc) · 1.69 KB
/
vaiables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
variable "region" {
description = "The region where resources should be managed. In this repository it's secondary because IAM is always global."
type = string
default = "eu-central-1"
}
variable "name" {
type = string
description = "Dashboard name"
}
variable "health_checks" {
type = any
default = []
description = "Health_checks endpoints and paths"
}
variable "create_alerts" {
type = bool
default = true
description = "Create Alert"
}
variable "sns_topic_name" {
type = string
default = "cloudwatch-alarm"
description = "SNS topic name"
}
variable "enable_log_base_metrics" {
type = bool
default = true
}
variable "log_base_metrics" {
type = list(object({
name = string
pattern = string
log_group_name = string
unit = optional(string, "None")
dimensions = optional(any, {})
value = optional(string, "1")
default_value = optional(string, "0")
}))
default = []
description = "Log Base Metrics creation configuration"
}
variable "alerts" {
type = any
default = []
description = "Alerts"
}
variable "expression_alert" {
type = any
default = {}
description = "Add multiple metrics in one alert and add expression."
}
variable "application_channel_alerts" {
type = any
default = []
description = "Application channel alerts"
}
variable "eks_monitroing_dashboard" {
type = any
default = []
description = "Dashboard for monitoring EKS cluster"
}
variable "application_monitroing_dashboard" {
type = any
default = []
description = "Application for monitoring EKS cluster"
}