-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathvariables.tf
55 lines (47 loc) · 1.5 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
#=============================#
# Cloudwatch Billing alert #
#=============================#
variable "aws_env" {
description = "AWS environment you are deploying to. Will be appended to SNS topic and alarm name. (e.g. dev, stage, prod)"
type = string
}
variable "monthly_billing_threshold" {
description = "The threshold for which estimated monthly charges will trigger the metric alarm."
type = string
}
variable "currency" {
description = "Short notation for currency type (e.g. USD, CAD, EUR)"
type = string
default = "USD"
}
variable "aws_account_id" {
description = "AWS account id"
type = string
default = null
}
variable "datapoints_to_alarm" {
description = "The number of datapoints that must be breaching to trigger the alarm."
type = number
default = null
}
#=============================#
# SNS #
#=============================#
variable "create_sns_topic" {
description = "Creates a SNS Topic if `true`."
type = bool
default = true
}
variable "sns_topic_arns" {
description = "List of SNS topic ARNs to be used. If `create_sns_topic` is `true`, it merges the created SNS Topic by this module with this list of ARNs"
type = list(string)
default = []
}
#=============================#
# TAGS #
#=============================#
variable "tags" {
type = map(string)
description = "A mapping of tags to assign to all resources"
default = {}
}