Upgrade ElastiCache Redis Cluster with Terraform

0

I have an ElastiCache Replication Group that was provisioned through the management console and then imported into Terraform. The Terraform code matches the infrastructure that currently exists in AWS. To upgrade the cluster to the latest version, I changed the engine_version from '5.0.6' to '7.0', and changed the parameter_group_name from a custom 5.0 group to the 'default.redis7.cluster.on' parameter group. However, the terraform plan only shows the change to engine_version, not to parameter_group_name. If I attempt to apply this change, I receive an error that I "Must specify a parameter group for the engine major version upgrade from redis 5.0 to 7.0". How can I use Terraform to upgrade an ElastiCache cluster?

David
質問済み 7ヶ月前144ビュー
回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ