-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CosmosDB MongoDB Capabilities can't be set. #1927
Comments
Hi @alex0ptr, I have added it to a branch, however when I attempt to test I get the opposite problem:
Is this a preview feature/something that needs to be enabled on at subscription level? |
I get the feeling, that this will be hard to maintain because of the many options that might also change quite often. Can someone test what happens if there is a capability that is not documented? If the request fails it may be better to leave validation to Cosmos API. |
Blocked on Azure/azure-sdk-for-go#2864 |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
Community Note
Description
We use Terraform to provide a CosmosDB in the MongoDB variant. Every time we run Terraform it wants to perform the following change:
This resource modification alone takes about a minute to perform and therefore slows down the whole template.
Also we can't define the capabilities ourself because if we try with a capabilities block:
because then we get a validation error
expected capabilities.0.name to be one of [EnableTable EnableGremlin EnableCassandra], got MongoDBv3.4
.Potential Terraform Configuration
Add the following option to capabilities:
alternatively please don't validate the values.
The text was updated successfully, but these errors were encountered: