-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathredis.tf
More file actions
38 lines (30 loc) · 894 Bytes
/
redis.tf
File metadata and controls
38 lines (30 loc) · 894 Bytes
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
module "redis" {
source = "umotif-public/elasticache-redis/aws"
version = "~> 2.1.0"
name_prefix = "signals"
number_cache_clusters = 1
node_type = "cache.t3.small"
engine_version = "6.x"
port = 6379
maintenance_window = "mon:03:00-mon:04:00"
snapshot_window = "04:00-06:00"
snapshot_retention_limit = 7
# automatic_failover_enabled = true
at_rest_encryption_enabled = false
transit_encryption_enabled = false
# auth_token = "1234567890asdfghjkl"
apply_immediately = true
family = "redis6.x"
description = "Signals elasticache redis."
subnet_ids = module.vpc.private_subnets
vpc_id = module.vpc.vpc_id
ingress_cidr_blocks = ["0.0.0.0/0"]
parameter = [
{
name = "repl-backlog-size"
value = "16384"
}
]
tags = {
}
}