-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvariables.tf
More file actions
176 lines (146 loc) · 4.11 KB
/
variables.tf
File metadata and controls
176 lines (146 loc) · 4.11 KB
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
variable "apply_immediately" {
type = bool
description = "Set to true to apply changes immediately"
default = false
}
variable "alarm_actions" {
type = list(object({ arn = string }))
description = "SNS topcis or other actions to invoke for alarms"
default = []
}
variable "at_rest_encryption_enabled" {
description = "Set to false to disable encryption at rest"
type = bool
default = true
}
variable "kms_key_id" {
description = "KMS key to encrypt data at rest"
type = string
default = null
}
variable "description" {
description = "Human-readable description for this replication group"
type = string
}
variable "enable_kms" {
type = bool
description = "Enable KMS encryption"
default = true
}
variable "engine" {
type = string
description = "Elasticache database engine; defaults to Redis"
default = "redis"
}
variable "engine_version" {
type = string
description = "Version for RDS database engine"
}
variable "global_replication_group_id" {
type = string
description = "The ID of the global replication group to which this replication group should belong."
default = null
}
variable "initial_auth_token" {
type = string
description = "Override the initial auth token"
default = null
}
variable "name" {
type = string
description = "Name for this cluster"
}
variable "node_type" {
type = string
description = "Node type for the Elasticache instance"
}
variable "parameter_group_name" {
type = string
description = "Parameter group name for the Redis cluster"
default = null
}
variable "port" {
description = "Port on which to listen"
type = number
default = 6379
}
variable "replica_count" {
type = number
default = 1
description = "Number of read-only replicas to add to the cluster"
}
variable "replication_group_id" {
description = "Override the ID for the replication group"
type = string
default = ""
}
variable "snapshot_name" {
description = "Name of an existing snapshot from which to create a cluster"
type = string
default = null
}
variable "snapshot_retention_limit" {
description = "Number of days to retain snapshots"
type = number
default = 7
}
variable "subnet_ids" {
description = "Subnets connected to the database"
type = list(string)
}
variable "subnet_group_name" {
description = "Override the name for the subnet group"
type = string
default = ""
}
variable "tags" {
type = map(string)
description = "Tags to be applied to created resources"
default = {}
}
variable "transit_encryption_enabled" {
description = "Set to false to disable TLS"
type = bool
default = true
}
# Security group variables
variable "allowed_cidr_blocks" {
description = "CIDR blocks allowed to access the database"
type = list(string)
default = []
}
variable "allowed_security_group_ids" {
description = "Security group allowed to access the database"
type = list(string)
default = []
}
variable "client_security_group_name" {
description = "Override the name for the security group; defaults to identifer"
type = string
default = ""
}
variable "create_client_security_group" {
type = bool
description = "Set to false to only use existing security groups"
default = true
}
variable "create_server_security_group" {
type = bool
description = "Set to false to only use existing security groups"
default = true
}
variable "server_security_group_ids" {
type = list(string)
description = "IDs of VPC security groups for this instance. One of vpc_id or server_security_group_ids is required"
default = []
}
variable "server_security_group_name" {
description = "Override the name for the security group; defaults to identifer"
type = string
default = ""
}
variable "vpc_id" {
type = string
description = "ID of VPC for this instance. One of vpc_id or vpc_security_group_ids is required"
default = null
}