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
feita há 7 meses145 visualizações
Sem respostas

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas