[AVM Module Issue]: The AVM Redis module does not allow deploying a premium cache without clustering. #4380
Labels
Class: Resource Module 📦
This is a resource module
Type: AVM 🅰️ ✌️ Ⓜ️
This is an AVM related issue
Type: Bug 🐛
Something isn't working
Check for previous/existing GitHub issues
Issue Type?
Bug
Module Name
avm/res/cache/redis
(Optional) Module Version
No response
Description
In the Redis AVM, it is mandatory to specify the shardCount as it has a minValue of 1. This forces the user to enable clustering when creating a Premium cache, whereas in the Azure Portal, it is possible to deploy a Premium cache without enabling it. My recommendation is to make the parameter nullable so that it is not passed during deployment, allowing the deployment of a non-clustered cache.
(Optional) Correlation Id
No response
The text was updated successfully, but these errors were encountered: