-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path_variables.tf
58 lines (50 loc) · 1.67 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
variable "org_name" {
description = "Name for this organization"
}
variable "workspace_name" {
description = "Description for the chat integration"
}
# variable "enabled" {
# description = "If true, will create aws chatboot and integrate to slack/teams"
# default = false
# type = bool
# }
# variable "slack_channel_id" {
# description = "Slack channel id to send budget notfication using AWS Chatbot"
# default = ""
# }
# variable "slack_workspace_id" {
# description = "Slack workspace id to send budget notfication using AWS Chatbot"
# default = ""
# }
variable "slack_targets" {
description = "Use to define additional slack channels. Format: [ { slack_channel_name=xxxx , slack_channel_id=xxx, slack_workspace_id=xxx }]"
default = []
type = any
}
variable "teams_targets" {
description = "Use to define additional slack channels. Format: [ { team_id=xxxx , teams_channel_id=xxx, teams_tenant_id=xxx }]"
default = []
type = any
}
# variable "alarm_sns_topic_arns" {
# description = "ARN of SNS Topic(s) to connect to AWS Chatbot"
# type = list
# default = []
# }
variable "tags" {
description = "Specifies object tags key and value. This applies to all resources created by this module."
type = map(string)
default = {
"Terraform" = true
}
}
variable "logging_level" {
description = "Specifies the logging level for this configuration. This property affects the log entries pushed to Amazon CloudWatch Logs. Logging levels include ERROR, INFO, or NONE."
default = "ERROR"
}
variable "account_ids" {
description = "list of accounts that can send notifications"
type = list
default = []
}