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 查看次数
没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则