forked from cloudposse/terraform-aws-elasticache-memcached
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
105 lines (85 loc) · 2.17 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
variable "name" {
description = "The Name of the application or solution (e.g. `bastion` or `portal`)"
}
variable "label_id" {
default = true
description = "Set to false to use direct name rather than label generated id"
}
variable "enabled" {
description = "Set to false to prevent the module from creating any resources"
default = "true"
}
variable "namespace" {
description = "Namespace (e.g. `cp` or `cloudposse`)"
}
variable "stage" {
description = "Stage (e.g. `prod`, `dev`, `staging`)"
}
variable "tags" {
type = "map"
description = "Additional tags (_e.g._ map(\"BusinessUnit\",\"ABC\")"
default = {}
}
variable "security_groups" {
type = "list"
description = "AWS security group ids"
}
variable "vpc_id" {
default = ""
description = "VPC ID"
}
variable "max_item_size" {
default = "10485760"
description = "Max item size"
}
variable "subnets" {
type = "list"
default = []
description = "AWS subnet ids"
}
variable "maintenance_window" {
default = "wed:03:00-wed:04:00"
description = "Maintenance window"
}
variable "cluster_size" {
default = "1"
description = "Cluster size"
}
variable "instance_type" {
default = "t2.micro"
description = "Elastic cache instance type"
}
variable "engine_version" {
default = "1.4.33"
description = "Engine version"
}
variable "notification_topic_arn" {
default = ""
description = "Notification topic arn"
}
variable "alarm_cpu_threshold_percent" {
default = "75"
description = "CPU threshold alarm level"
}
variable "alarm_memory_threshold_bytes" {
# 10MB
default = "10000000"
description = "Alarm memory threshold bytes"
}
variable "alarm_actions" {
type = "list"
default = []
description = "Alarm actions"
}
variable "apply_immediately" {
default = "true"
description = "Specifies whether any database modifications are applied immediately, or during the next maintenance window"
}
variable "availability_zones" {
type = "list"
description = "List of Availability Zones where subnets will be created"
}
variable "zone_id" {
default = ""
description = "Route53 DNS Zone id"
}