File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ resource "aws_elasticache_replication_group" "redis" {
23
23
snapshot_retention_limit = var. redis_snapshot_retention_limit
24
24
tags = merge ({ " Name" = format (" tf-elasticache-%s" , var. name ) }, var. tags )
25
25
transit_encryption_enabled = var. transit_encryption_enabled
26
+ at_rest_encryption_enabled = var. at_rest_encryption_enabled
26
27
auth_token = var. transit_encryption_enabled ? var. auth_token : null
27
28
}
28
29
Original file line number Diff line number Diff line change @@ -128,6 +128,12 @@ variable "transit_encryption_enabled" {
128
128
description = " Enable TLS"
129
129
}
130
130
131
+ variable "at_rest_encryption_enabled" {
132
+ type = bool
133
+ default = true
134
+ description = " Enable encryption at rest"
135
+ }
136
+
131
137
variable "auth_token" {
132
138
type = string
133
139
description = " token for password protecting redis, transit_encryption_enabled must`` be set to `true`. Password must be longer than 16 chars"
You can’t perform that action at this time.
0 commit comments