File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,10 @@ resource "aws_elasticache_replication_group" "default" {
6464 # https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/AutoFailover.html
6565 automatic_failover_enabled = var. automatic_failover_enabled
6666
67+ # (Optional) Specifies whether to enable Multi-AZ Support for the replication group.
68+ # If true, automatic_failover_enabled must also be enabled. Defaults to false
69+ multi_az_enabled = var. multi_az_enabled
70+
6771 # Redis at-rest encryption is an optional feature to increase data security by encrypting on-disk data during sync
6872 # and backup or snapshot operations. Because there is some processing needed to encrypt and decrypt the data,
6973 # enabling at-rest encryption can have some performance impact during these operations.
Original file line number Diff line number Diff line change @@ -64,6 +64,12 @@ variable "automatic_failover_enabled" {
6464 description = " Specifies whether a read-only replica will be automatically promoted to read/write primary if the existing primary fails."
6565}
6666
67+ variable "multi_az_enabled" {
68+ default = false
69+ type = bool
70+ description = " Specifies whether to enable Multi-AZ Support for the replication group. If true, automatic_failover_enabled must also be enabled."
71+ }
72+
6773variable "at_rest_encryption_enabled" {
6874 default = true
6975 type = bool
You can’t perform that action at this time.
0 commit comments