Skip to content

Commit cd1b042

Browse files
MoonMoon1919sarkis
authored andcommitted
Adding engine_version to elasticache replication group arguments (#12)
* adding engine_version to elasticache replication group * changing default engine_version to 4.0.10 This is the newest available engine version available for Redis Elasticache. * setting default family to redis4.0
1 parent 96060c7 commit cd1b042

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ resource "aws_elasticache_replication_group" "default" {
6161
security_group_ids = ["${aws_security_group.default.id}"]
6262
maintenance_window = "${var.maintenance_window}"
6363
notification_topic_arn = "${var.notification_topic_arn}"
64+
engine_version = "${var.engine_version}"
6465

6566
tags = "${module.label.tags}"
6667
}

variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ variable "instance_type" {
4545
}
4646

4747
variable "family" {
48-
default = "redis3.2"
48+
default = "redis4.0"
4949
}
5050

5151
variable "engine_version" {
52-
default = "3.2.4"
52+
default = "4.0.10"
5353
}
5454

5555
variable "notification_topic_arn" {

0 commit comments

Comments
 (0)