Skip to content

Commit b80ecb7

Browse files
committed
Include apply_immediately variable for elasticache-redis replication
group For changes effective immediately instead of having to wait for the maintenance window.
1 parent 4fdbc26 commit b80ecb7

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

elasticache-redis/replication-group/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
resource "aws_elasticache_replication_group" "this" {
22
replication_group_id = coalesce(var.replication_group_id, var.name)
33

4+
apply_immediately = var.apply_immediately
45
at_rest_encryption_enabled = var.at_rest_encryption_enabled
56
automatic_failover_enabled = local.replica_enabled
67
description = var.description

elasticache-redis/replication-group/variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
variable "apply_immediately" {
2+
type = bool
3+
description = "Set to true to apply changes immediately"
4+
default = false
5+
}
6+
17
variable "alarm_actions" {
28
type = list(object({ arn = string }))
39
description = "SNS topcis or other actions to invoke for alarms"

0 commit comments

Comments
 (0)