-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
112 lines (94 loc) · 2.6 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
variable "environment" {
type = string
default = ""
description = "test/stage/prod environment. This is set in .tfvars files"
}
variable "resource_group_name" {
type = string
default = "budget-monitoring"
}
variable "location" {
type = string
default = "norwayeast"
}
##################################
#Variables from other modules
variable "web_page_resource_group_id" {
type = string
default = ""
}
##################################
#monitor action group
variable "action_group_name" {
type = string
default = "monitor-action-group"
}
variable "action_group_short_name" {
type = string
default = "budget-mon"
}
variable "reciver" {
type = list(object({
name = string
email_address = string
country_code = string
phone_number = string
use_common_alert_schema = bool
}))
default = [{
name = "Employee Name 1"
email_address = "employee1@yeet.no"
country_code = "47"
phone_number = "11111111"
use_common_alert_schema = true
},
{
name = "Employee Name 2"
email_address = "employee2@yeet.no"
country_code = "47"
phone_number = "111111112"
use_common_alert_schema = true
}]
}
variable "webhook_reciver_name" {
type = string
default = "budget-webhook"
}
variable "webhook_reciver_uri" {
type = string
default = "https://example_webhook.com/123abc"
}
#consumption budget subscription
variable "consumption_budget_subscription_name" {
type = string
default = "consumption-budget-subscription"
}
variable "consumption_budget_subscription_amount" {
type = number
default = 250
}
variable "consumption_budget_subscription_time_grain" {
type = string
default = "Monthly"
}
variable "consumption_budget_subscription_time_period" {
type = list
default = ["2022-05-01T00:00:00Z", "2023-01-01T00:00:00Z"]
}
#consumption budget resource group
variable "consumption_budget_resource_group_name" {
type = string
default = "consumption-budget-resource-group"
}
variable "consumption_budget_resource_group_amount" {
type = number
default = 100
}
variable "consumption_budget_resource_group_time_grain" {
type = string
default = "Monthly"
}
variable "consumption_budget_resource_group_time_period" {
type = list
default = ["2022-05-01T00:00:00Z", "2023-01-01T00:00:00Z"]
}