Skip to content

Commit

Permalink
fix: Ignore engine version changes for AWS Elasticache Redis v6 (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimleroyer authored Jan 13, 2021
1 parent 3f77ff5 commit 633a136
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions aws/elasticache/elasticache.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,12 @@ resource "aws_elasticache_cluster" "notification-cluster-cache" {
tags = {
CostCenter = "notification-canada-ca-${var.env}"
}

# We need to ignore engine_version changes for the time being, because there
# is a bug in terraform that prevents proper support of Redis v6 in the AWS
# provider. For more details, see issue:
# https://github.com/hashicorp/terraform-provider-aws/issues/15625
lifecycle {
ignore_changes = [engine_version]
}
}

0 comments on commit 633a136

Please sign in to comment.