Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ resource "aws_elasticache_replication_group" "default" {
maintenance_window = var.maintenance_window
notification_topic_arn = var.notification_topic_arn
engine_version = var.engine_version
engine = var.engine
at_rest_encryption_enabled = var.at_rest_encryption_enabled
transit_encryption_enabled = var.transit_encryption_enabled
kms_key_id = var.at_rest_encryption_enabled ? var.kms_key_id : null
Expand Down
8 changes: 7 additions & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,13 @@ variable "parameter" {
variable "engine_version" {
type = string
default = "4.0.10"
description = "Redis engine version"
description = "Redis/Valkey engine version"
}

variable "engine" {
type = string
default = "redis"
description = "Redis or Valkey as a version"
}

variable "at_rest_encryption_enabled" {
Expand Down