diff --git a/main.tf b/main.tf index 065e949..9e71c2e 100644 --- a/main.tf +++ b/main.tf @@ -61,6 +61,7 @@ resource "aws_elasticache_replication_group" "default" { security_group_ids = ["${aws_security_group.default.id}"] maintenance_window = "${var.maintenance_window}" notification_topic_arn = "${var.notification_topic_arn}" + engine_version = "${var.engine_version}" tags = "${module.label.tags}" } diff --git a/variables.tf b/variables.tf index 2244516..b695bff 100644 --- a/variables.tf +++ b/variables.tf @@ -45,11 +45,11 @@ variable "instance_type" { } variable "family" { - default = "redis3.2" + default = "redis4.0" } variable "engine_version" { - default = "3.2.4" + default = "4.0.10" } variable "notification_topic_arn" {