This repository has been archived by the owner on Mar 11, 2024. It is now read-only.
forked from tmknom/terraform-aws-elasticache-redis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
126 lines (105 loc) · 3.39 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
variable "name" {
type = string
description = "The replication group identifier. This parameter is stored as a lowercase string."
}
variable "number_cache_clusters" {
type = string
description = "The number of cache clusters (primary and replicas) this replication group will have."
}
variable "node_type" {
type = string
description = "The compute and memory capacity of the nodes in the node group."
}
variable "subnet_ids" {
type = list(string)
description = "List of VPC Subnet IDs for the cache subnet group."
default = []
}
variable "vpc_id" {
type = string
description = "VPC Id to associate with Redis ElastiCache."
default = ""
}
variable "subnet_group_name" {
type = string
description = "VPC Id to associate with Redis ElastiCache."
default = null
}
variable "source_cidr_blocks" {
type = list(string)
description = "List of source CIDR blocks."
}
variable "destination_cidr_blocks" {
type = list(string)
description = "List of source CIDR blocks."
}
variable "engine_version" {
default = "5.0.6"
type = string
description = "The version number of the cache engine to be used for the cache clusters in this replication group."
}
variable "port" {
default = 6379
type = number
description = "The port number on which each of the cache nodes will accept connections."
}
variable "maintenance_window" {
default = ""
type = string
description = "Specifies the weekly time range for when maintenance on the cache cluster is performed."
}
variable "snapshot_window" {
default = ""
type = string
description = "The daily time range (in UTC) during which ElastiCache will begin taking a daily snapshot of your cache cluster."
}
variable "snapshot_retention_limit" {
default = 30
type = number
description = "The number of days for which ElastiCache will retain automatic cache cluster snapshots before deleting them."
}
variable "automatic_failover_enabled" {
default = true
type = bool
description = "Specifies whether a read-only replica will be automatically promoted to read/write primary if the existing primary fails."
}
variable "multi_az_enabled" {
default = true
type = bool
description = "Specifies whether a read-only replica will be automatically promoted to read/write primary if the existing primary fails."
}
variable "at_rest_encryption_enabled" {
default = true
type = bool
description = "Whether to enable encryption at rest."
}
variable "transit_encryption_enabled" {
default = true
type = bool
description = "Whether to enable encryption in transit."
}
variable "apply_immediately" {
default = false
type = bool
description = "Specifies whether any modifications are applied immediately, or during the next maintenance window."
}
variable "family" {
default = "redis5.0"
type = string
description = "The family of the ElastiCache parameter group."
}
variable "description" {
default = "Managed by Terraform"
type = string
description = "The description of the all resources."
}
variable "tags" {
default = {}
type = map(string)
description = "A mapping of tags to assign to all resources."
}
variable "auth_token" {
default = null
type = string
description = "Access token for CLI."
}