File tree 2 files changed +10
-0
lines changed
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" {
64
64
# https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/AutoFailover.html
65
65
automatic_failover_enabled = var. automatic_failover_enabled
66
66
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
+
67
71
# Redis at-rest encryption is an optional feature to increase data security by encrypting on-disk data during sync
68
72
# and backup or snapshot operations. Because there is some processing needed to encrypt and decrypt the data,
69
73
# 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" {
64
64
description = " Specifies whether a read-only replica will be automatically promoted to read/write primary if the existing primary fails."
65
65
}
66
66
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
+
67
73
variable "at_rest_encryption_enabled" {
68
74
default = true
69
75
type = bool
You can’t perform that action at this time.
0 commit comments