-
Notifications
You must be signed in to change notification settings - Fork 3
/
variables.tf
88 lines (71 loc) · 1.93 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
/*
# These vars would be used by cloudwatch.tf and should be uncommented if we decide to use them.
variable "alarm_cpu_threshold" {
default = "75"
}
variable "alarm_memory_threshold" {
# 10MB
default = "10000000"
}
variable "alarm_actions" {
type = "list"
}
*/
variable "apply_immediately" {
description = "Specifies whether any modifications are applied immediately, or during the next maintenance window. Default is false."
default = "false"
}
variable "allowed_cidr" {
type = list(string)
default = ["127.0.0.1/32"]
description = "A list of Security Group ID's to allow access to."
}
variable "allowed_security_groups" {
type = list(string)
default = []
description = "A list of Security Group ID's to allow access to."
}
variable "env" {
description = "env to deploy into, should typically dev/staging/prod"
}
variable "name" {
description = "Name for the Redis replication group i.e. UserObject"
}
variable "redis_clusters" {
description = "Number of Redis cache clusters (nodes) to create"
}
variable "redis_failover" {
default = false
}
variable "redis_node_type" {
description = "Instance type to use for creating the Redis cache clusters"
default = "cache.m3.medium"
}
variable "redis_port" {
default = 6379
}
variable "subnets" {
type = list(string)
description = "List of VPC Subnet IDs for the cache subnet group"
}
# might want a map
variable "redis_version" {
description = "Redis version to use, defaults to 3.2.4"
default = "3.2.4"
}
variable "vpc_id" {
description = "VPC ID"
}
variable "is_test" {
default = false
}
variable "tags" {
description = "Tags wil be apllied to redis cluster tags property"
type = map(string)
default = null
}
variable "multi_az_enabled" {
description = "Sets multi az attribute for redis cluster"
type = bool
default = false
}