-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
75 lines (58 loc) · 1.59 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
variable "name_prefix" {
description = "A prefix used for naming resources."
}
variable ssm_password_name {
description = "Kibana user password parameter name (value stored as SecureString)"
}
variable ssm_password_arn {
description = "Kibana user password parameter arn"
}
variable hostname {
description = "The elastic cloud ingestion base url without https"
}
variable port {
description = "The elastic cloud ingestion host port"
}
variable username {
description = "The kibana user username"
}
variable index {
description = "The name of the index to which they"
default = "prm"
}
variable enable_alarm {
description = "Enable alarm for failed invocations of the lambda function"
default = false
}
variable "tags" {
description = "A map of tags (key-value pairs) passed to resources."
type = map(string)
default = {}
}
/*
* == Alarm Configuration
*/
variable "alarm_sns_topic_arns" {
description = "Where to send Alarms and OKs"
type = list(string)
}
variable "error_threshold" {
description = "Amount of times the lambda can fail before an alarm is triggered"
type = number
default = 10
}
variable "times_failed" {
description = "Amount of elapsed evaluation periods before an alarm is triggered"
type = number
default = 1
}
variable "treat_missing_data" {
description = "How this alarm is to handle missing data points"
type = string
default = "missing"
}
variable "period" {
description = "Period in seconds to check for the applied statistic"
type = number
default = 300
}