-
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
Feature Request: CosmosDB Collections #548
Comments
Hi @deepaksap Thanks for opening this issue / feature request :) I've taken a look into this but unfortunately at this point in time there's no support for creating CosmosDB Collections in the Azure SDK for Go. That said - a PR's been opened recently which should enable this and once the PR's been merged we should be able to take a look at supporting this in Terraform. Thanks! |
@tombuildsstuff looks like this was merged. I would love to see this happen. I know for a long time this was separate from the ARM API. |
This comment has been minimized.
This comment has been minimized.
I looked into this a PR's been opened recently which should enable this and this implements that you can The Azure SDK for go miss the possibility to create a CosmosDB collection with the following properties (that properties come from the azure cli tool)
The azure cli tool offers the possibility to create a cosmosDB collection az cosmosdb collection create Any suggestions how to create CosmosDb collection with terraform?
|
Looks like the PR got merged meanwhile |
Any update on this feature ?? |
Would be great to have CosmosDB collections managed by Terraform. The SDK support has been there for four months now, any ETA for this? |
@holmesb we're hoping to get to this soon - watch this space :) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I see there's been some work on Cosmos at the account level. Having fully-featured accounts without any database\collection capability is incongruous IMO. Any timeline for this? |
So, Mongo Collections got added, but not the "normal" Cosmos DB collections? Is there an issue which tracks those? (based on the title of this issue, I assumed they were included, but it got closed now) |
Is "azurerm_cosmos_sql_container" the new resource for SQL Collections? |
It could be but I don't see it anywhere. Where have you found it? |
@dandiellie where you able to get an answer? Also for anyone writing collections via terraform, is there Thank you in advance |
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. |
Hi there,
Terraform Version
Run
terraform -v
to show the version. If you are not running the latest version of Terraform, please upgrade because your issue may have already been fixed.Terraform v0.10.8
Affected Resource(s)
Please list the resources as a list, for example:
Cosmos DB
Expected Behavior
What should have happened? --> terraform should be able to create mongo db collections under cosmos DB.
Actual Behavior
What actually happened? --> Terraform is only creating cosmos DB account.
The text was updated successfully, but these errors were encountered: