diff --git a/avm/res/cache/redis/README.md b/avm/res/cache/redis/README.md index 49297597e7..a47ace669a 100644 --- a/avm/res/cache/redis/README.md +++ b/avm/res/cache/redis/README.md @@ -2183,7 +2183,6 @@ The number of shards to be created on a Premium Cluster Cache. - Required: No - Type: int -- Default: `1` - MinValue: 1 ### Parameter: `skuName` diff --git a/avm/res/cache/redis/linked-servers/main.json b/avm/res/cache/redis/linked-servers/main.json index 170402a3d5..5c70c19270 100644 --- a/avm/res/cache/redis/linked-servers/main.json +++ b/avm/res/cache/redis/linked-servers/main.json @@ -5,8 +5,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.33.13.18514", - "templateHash": "11294861621866290910" + "version": "0.33.93.31351", + "templateHash": "322534394383651316" }, "name": "Redis Cache Linked Servers", "description": "This module connects a primary and secondary Redis Cache together for geo-replication." diff --git a/avm/res/cache/redis/main.bicep b/avm/res/cache/redis/main.bicep index 461bab33b7..6494bafab4 100644 --- a/avm/res/cache/redis/main.bicep +++ b/avm/res/cache/redis/main.bicep @@ -64,7 +64,7 @@ param replicasPerPrimary int = 3 @minValue(1) @description('Optional. The number of shards to be created on a Premium Cluster Cache.') -param shardCount int = 1 +param shardCount int? @allowed([ 0 diff --git a/avm/res/cache/redis/main.json b/avm/res/cache/redis/main.json index 10bffbc878..d63179ebfc 100644 --- a/avm/res/cache/redis/main.json +++ b/avm/res/cache/redis/main.json @@ -5,8 +5,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.33.13.18514", - "templateHash": "1242857667100916577" + "version": "0.33.93.31351", + "templateHash": "2636464673565813214" }, "name": "Redis Cache", "description": "This module deploys a Redis Cache." @@ -842,7 +842,7 @@ }, "shardCount": { "type": "int", - "defaultValue": 1, + "nullable": true, "minValue": 1, "metadata": { "description": "Optional. The number of shards to be created on a Premium Cluster Cache." @@ -1947,8 +1947,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.33.13.18514", - "templateHash": "11294861621866290910" + "version": "0.33.93.31351", + "templateHash": "322534394383651316" }, "name": "Redis Cache Linked Servers", "description": "This module connects a primary and secondary Redis Cache together for geo-replication." @@ -2073,8 +2073,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.33.13.18514", - "templateHash": "14045530027687796477" + "version": "0.33.93.31351", + "templateHash": "8063348652715653257" } }, "definitions": {