[AVM Module Issue]: Unable to provision cosmos mongoDb collection with autoscaleSettings #4260
Open
1 task done
Labels
Class: Resource Module 📦
This is a resource module
Type: AVM 🅰️ ✌️ Ⓜ️
This is an AVM related issue
Type: Feature Request ➕
New feature or request
Check for previous/existing GitHub issues
Issue Type?
Feature Request
Module Name
avm/res/document-db/database-account
(Optional) Module Version
0.10.2
Description
The current implementation of avm/res/document-db/database-account/mongodb-database doesn't take in the autoscaleSettings parameter for collection to set the maxThroughput in options. The expectation is to pass in the autoscaleSettings along with the other params to collection/main.bicep to achieve something like below as a result.
resource symbolicname 'Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections@<version>' = { ... properties: { options: { autoscaleSettings: { maxThroughput: int } throughput: int } resource: { ... } } }
(Optional) Correlation Id
No response
The text was updated successfully, but these errors were encountered: