From f429aa8b0daf9ba7d48a30fe56daa10716f24ddc Mon Sep 17 00:00:00 2001 From: Jon Parodi Date: Wed, 31 Jul 2024 10:18:02 -0700 Subject: [PATCH] create_before_destroy param group revert the removal of the `create_before_destroy` flag on the parameter group. As is, this prevents the in-place upgrade of elasticache when changing the engine and family version of redis. --- main.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/main.tf b/main.tf index 392f474..5794628 100644 --- a/main.tf +++ b/main.tf @@ -87,6 +87,7 @@ resource "aws_elasticache_parameter_group" "redis" { # Ignore changes to the description since it will try to recreate the resource lifecycle { + create_before_destroy = true ignore_changes = [ description, ]