File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,8 @@ resource "aws_elasticache_cluster" "this" {
5858 snapshot_retention_limit = local. in_replication_group ? null : var. snapshot_retention_limit
5959 snapshot_window = local. in_replication_group ? null : var. snapshot_window
6060 subnet_group_name = local. in_replication_group ? null : local. subnet_group_name
61- transit_encryption_enabled = var. engine == " memcached" ? var. transit_encryption_enabled : null
61+ # this makes it so that the transit encryption is enabled by default for memcached, which prevents a backwards incompatible change
62+ transit_encryption_enabled = var. engine == " memcached" ? true : var. transit_encryption_enabled
6263
6364 tags = local. tags
6465
Original file line number Diff line number Diff line change @@ -176,9 +176,9 @@ variable "snapshot_window" {
176176}
177177
178178variable "transit_encryption_enabled" {
179- description = " Enable encryption in-transit. Supported only with Memcached versions `1.6.12` and later, running in a VPC "
179+ description = " Enable encryption in-transit."
180180 type = bool
181- default = true
181+ default = null
182182}
183183
184184variable "transit_encryption_mode" {
You can’t perform that action at this time.
0 commit comments