/
variables.tf
63 lines (54 loc) · 1.73 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
variable "account_name" {
description = "Specifies the name of the AWS account"
type = string
default = ""
}
variable "account_budget_limit" {
description = "Set the budget limit for the AWS account."
type = string
}
variable "budget_limit_unit" {
description = "The unit of measurement used for the budget forecast, actual spend, or budget threshold."
type = string
default = "USD"
}
variable "budget_time_unit" {
description = "The length of time until a budget resets the actual and forecasted spend. Valid values: `MONTHLY`, `QUARTERLY`, `ANNUALLY`."
type = string
default = "MONTHLY"
}
variable "services" {
description = "Define the list of services and their limit of budget."
type = map(object({
budget_limit = string
}))
}
variable "notifications" {
description = "Can be used multiple times to configure budget notification thresholds."
type = map(object({
comparison_operator = string
threshold = number
threshold_type = string
notification_type = string
}))
}
variable "slack_channel_id" {
type = string
description = "The ID of the Slack channel. For example, ABCBBLZZZ. (Should be set when create_slack_integration is enabled)."
default = ""
}
variable "slack_workspace_id" {
type = string
description = "The ID of the Slack workspace authorized with AWS Chatbot. (Should be set when create_slack_integration is enabled)."
default = ""
}
variable "create_slack_integration" {
type = bool
description = "Whether to create the Slack integration through AWS Chatbot or not."
default = true
}
variable "tags" {
type = map(string)
default = {}
description = "Additional tags."
}