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

Is there support for creating collections and containers for Cosmos Global Document DB ? #3506

Closed
jabba2324 opened this issue May 23, 2019 · 9 comments

Comments

@jabba2324
Copy link

As above.

@jabba2324 jabba2324 changed the title Is there support for creating collections and containers for Cosmos Document DB ? Is there support for creating collections and containers for Cosmos Global Document DB ? May 23, 2019
@katbyte
Copy link
Collaborator

katbyte commented May 25, 2019

Hi @cdesewell, there is! it was just released in v1.28

@mikhailshilkov
Copy link
Contributor

@katbyte so what's the resource name for a SQL Collection?

@ryancrawcour
Copy link

I see there's a resource for SQL Database https://www.terraform.io/docs/providers/azurerm/r/cosmosdb_sql_database.html but i don't see anything for Collections within that Database.

@jabba2324
Copy link
Author

jabba2324 commented May 28, 2019

Same @ryancrawcour, @katbyte how would I create a collection ?

@ryancrawcour
Copy link

ryancrawcour commented May 28, 2019

I don't believe you can create a SQL API collection, only a Mongo API collection, which is not what we want to do.

The change list for 1.28 has the following -

New Resource: azurerm_cosmosdb_table (#3442)
New Resource: azurerm_cosmosdb_cassandra_keyspace (#3442)
New Resource: azurerm_cosmosdb_mongo_collection (#3459)
New Resource: azurerm_cosmosdb_mongo_database (#3442)
New Resource: azurerm_cosmosdb_sql_database (#3442)
New Resource: azurerm_firewall_nat_rule_collection (#3218)

Nothing about cosmosdb-sql_collection.

@katbyte, can you comment?

@piizei
Copy link

piizei commented Jun 18, 2019

Please add creation of the SQL Collection, should be pretty straight forward as it is very similar to Mongo.

@katbyte
Copy link
Collaborator

katbyte commented Sep 3, 2019

This was added in #3871 and released in v1.33 of the provider! as such i am closing it.

@katbyte katbyte closed this as completed Sep 3, 2019
@katbyte katbyte added this to the v1.34.0 milestone Sep 3, 2019
@ghost
Copy link

ghost commented Sep 18, 2019

This has been released in version 1.34.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example:

provider "azurerm" {
    version = "~> 1.34.0"
}
# ... other configuration ...

@ghost
Copy link

ghost commented Oct 4, 2019

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 👉 hashibot-feedback@hashicorp.com. Thanks!

@ghost ghost locked and limited conversation to collaborators Oct 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants