-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
59 lines (50 loc) · 1.86 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
variable "tags" {
description = "Tags to apply to AWS resources created by the module."
type = map(string)
default = {
"Terraform Module Source" = "https://github.com/CU-CommunityApps/tf-module-sns-teams-relay"
}
}
variable "namespace" {
description = "Namespace string in order to ensure unique AWS resource names, if the module is deployed multiple times in the same region."
type = string
default = "default"
}
variable "teams_webhook_url_normal" {
description = "URL of webhook exposed for target Teams channel for regular notifications."
type = string
}
variable "teams_webhook_url_alert" {
description = "URL of webhook exposed for target Teams channel for alert/critical notifications."
type = string
}
variable "sns_topic_arn_list" {
description = "List of ARNs for SNS topics from which notifications should be relayed."
type = list(string)
default = []
}
variable "alarm_sns_topic_arn_list_normal" {
description = "All alarm notifications coming on these SNS topics will be sent to the normal webhook."
type = list(string)
default = []
}
variable "alarm_sns_topic_arn_list_alert" {
description = "All alarm notifications coming on these SNS topics will be sent to the alert webhook."
type = list(string)
default = []
}
variable "strftime_format" {
description = "Python strftime format string to use to convert to readable timestamps."
type = string
default = "%Y-%m-%d %H:%M UTC"
}
variable "generic_sns_topic_arn_list_normal" {
description = "All generic notifications coming on these SNS topics will be sent to the normal webhook."
type = list(string)
default = []
}
variable "generic_sns_topic_arn_list_alert" {
description = "All generic notifications coming on these SNS topics will be sent to the alert webhook."
type = list(string)
default = []
}