-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
88 lines (79 loc) · 2.17 KB
/
variables.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
78
79
80
81
82
83
84
85
86
87
88
#Module : LABEL
#Description : Terraform label module variables.
variable "name" {
type = string
default = ""
description = "Name (e.g. `app` or `cluster`)."
}
variable "application" {
type = string
default = ""
description = "Application (e.g. `cd` or `clouddrove`)."
}
variable "environment" {
type = string
default = ""
description = "Environment (e.g. `prod`, `dev`, `staging`)."
}
variable "tags" {
type = map(any)
default = {}
description = "Additional tags (e.g. map(`BusinessUnit`,`XYZ`)."
}
variable "managedby" {
type = string
default = "anmol@clouddrove.com"
description = "ManagedBy, eg 'CloudDrove' or 'AnmolNagpal'."
}
variable "label_order" {
type = list(any)
default = ["name", "environment"]
description = "Label order, e.g. `name`,`application`."
}
variable "repository" {
type = string
default = ""
description = "Terraform current module repo"
}
variable "actionGroups" {
type = map(object({
actionGroupName = string
actionGroupShortName = string
actionGroupRGName = string
actionGroupEnabled = string
actionGroupEmailReceiver = list(map(string))
}))
default = {}
}
variable "metricAlerts" {
type = map(object({
alertName = string
alertResourceGroupName = string
alertScopes = list(string)
alertDescription = string
alertEnabled = bool
alertAutoMitigate = bool
alertFrequency = string
alertTargetResourceType = string
alertTargetResourceLoc = string
dynCriteriaMetricNamespace = string
dynCriteriaMetricName = string
dynCriteriaAggregation = string
dynCriteriaOperator = string
dynCriteriathreshold = string
actionGroupID = string
}))
default = {}
}
variable "activity_log_alert" {
type = map(object({
alertname = string
alertrg = string
alertscopes = list(string)
description = string
operation_name = string
actionGroupID = string
category = string
}))
default = {}
}