Fails to create a Redis cluster v7.x with "auto_minor_version_upgrade = true" under Cloud Service Broker for AWS
search cancel

Fails to create a Redis cluster v7.x with "auto_minor_version_upgrade = true" under Cloud Service Broker for AWS

book

Article ID: 382481

calendar_today

Updated On:

Products

VMware Tanzu Application Service

Issue/Introduction

When trying to create a Redis cluster v7.x with "auto_minor_version_upgrade = true" under Cloud Service Broker for AWS, the following error is reported.

"errors":"
Error: engine_version: 7.x is invalid. For Redis v6 or higher, use \<major\>.\<minor\>. For Redis v5 or lower, use \<major\>.\<minor\>.\<patch\>.
 with aws_elasticache_replication_group.redis,
 on main.tf line 53, in resource \"aws_elasticache_replication_group\" \"redis\":
 53: engine_version = var.redis_version

Cause

This parameter, “auto_minor_version_upgrade = true" can be used with “redis_version 6.x” only. It is not supported to use 7.x, 8.x or 9.x for redis_version.

Resolution

This is a known issue which is documented at https://docs.vmware.com/en/Tanzu-Cloud-Service-Broker-for-AWS/1.12/csb-aws/GUID-troubleshooting.html#redis-auto-minor-upgrade-version-7

The current workaround is using “redis_version: 6.x” when auto_minor_version_upgrade is enabled. In terms of permanent fix, it is recommended to keep monitoring the release notes for latest status.