Skip to content
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

Support for CosmosDB Mongo API Analytical Store #11733

Closed
alex-p-mai opened this issue May 15, 2021 · 1 comment · Fixed by #11735
Closed

Support for CosmosDB Mongo API Analytical Store #11733

alex-p-mai opened this issue May 15, 2021 · 1 comment · Fixed by #11735

Comments

@alex-p-mai
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Could you please add the possibility to enable synapse store when creating a new mongoAPI container?
In Azure, in the collection/container level, you can enable Analytical Store:
image

New or Affected Resource(s)

  • azurerm_cosmosdb_mongo_collection

Potential Terraform Configuration

resource "azurerm_cosmosdb_mongo_collection" "example" {
  name                = "tfex-cosmos-mongo-db"
  resource_group_name = data.azurerm_cosmosdb_account.example.resource_group_name
  account_name        = data.azurerm_cosmosdb_account.example.name
  database_name       = azurerm_cosmosdb_mongo_database.example.name
  analytical_storage_ttl = -1 #new, integer

  default_ttl_seconds = "777"
  shard_key           = "uniqueKey"
  throughput          = 400
}

References

I saw that this is done for the SQL API and was wondering if the same can be done for the Mongo API? Please and thanks for looking into this.

@github-actions
Copy link

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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants