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

Add Support for EnableAggregationPipeline Capability in Cosmos DB (Mongo) #1848

Closed
jamesggraf opened this issue Aug 30, 2018 · 4 comments · Fixed by #2715
Closed

Add Support for EnableAggregationPipeline Capability in Cosmos DB (Mongo) #1848

jamesggraf opened this issue Aug 30, 2018 · 4 comments · Fixed by #2715
Labels
enhancement hashibot/ignore service/cosmosdb upstream/microsoft Indicates that there's an upstream issue blocking this issue/PR
Milestone

Comments

@jamesggraf
Copy link

Description

Cosmos DB has added a preview feature to enable aggregation pipelines to its implementation of Mongo. In Cosmos parlance this feature is called EnableAggregationPipeline

New or Affected Resource(s)

  • azurerm_cosmosdb_account

Potential Terraform Configuration

resource "azurerm_cosmosdb_account" "db" {
  name                = "my-cosmos-db"
  location            = "${azurerm_resource_group.rg.location}"
  resource_group_name = "${azurerm_resource_group.rg.name}"
  offer_type          = "Standard"
  kind                    = "MongoDB"

  enable_automatic_failover = false
  capabilities        = [{
    name = "EnableAggregationPipeline"
  }]
}

References

More information about this capability can be found here:

jamesggraf pushed a commit to jamesggraf/terraform-provider-azurerm that referenced this issue Aug 30, 2018
@jamesggraf
Copy link
Author

I've created a PR for this feature. I've never written anything in Go and I'm not sure how to test this so please be gentle :)

#1849

@katbyte
Copy link
Collaborator

katbyte commented Dec 7, 2018

Blocked on Azure/azure-sdk-for-go#2864

@brunofurmon
Copy link

I actually had to come to this issue to find out how to configure the capabilities parameter of the azurerm module. Documentation lacks the correct format it needs to accept the parameter.

@ghost
Copy link

ghost commented Mar 5, 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 👉 [email protected]. Thanks!

@ghost ghost locked and limited conversation to collaborators Mar 5, 2019
@katbyte katbyte modified the milestones: Blocked, v1.42.0, v1.22.0 Jan 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.