mongodb / terraform-provider-mongodbatlas

Terraform MongoDB Atlas Provider: Deploy, update, and manage MongoDB Atlas infrastructure as code through HashiCorp Terraform
https://registry.terraform.io/providers/mongodb/mongodbatlas
Mozilla Public License 2.0
240 stars 168 forks source link

No way to modify advanced configuration options for a cluster #61

Closed StephenBerezhnoy closed 4 years ago

StephenBerezhnoy commented 4 years ago

https://docs.atlas.mongodb.com/reference/api/clusters-modify-advanced-configuration-options/

I'd like to be able to disable server-side javascript and specify the minimum enabled TLS protocol using terraform as can already be done through the mongoDB Atlas UI and API.

PacoDw commented 4 years ago

Hello @StephenBerezhnoy, Thanks for your review, we have enabled the advanced configuration option in the pull request #60

If you have another comment just let us know.

StephenBerezhnoy commented 4 years ago

@PacoDw Wow! awesome, thank you. I was looking at the terraform docs for the mongoDB atlas here https://www.terraform.io/docs/providers/mongodbatlas/d/cluster.html and didn't see those options yet. I assume that's because those features were just added 3 hours ago.

So, I'm good to try them right now? or do I have to wait for a daily build or something like that?

StephenBerezhnoy commented 4 years ago

@PacoDw I see from trying a terraform init, and a terraform plan with the new configuration options, that it currently produces an error. When can I expect the terraform init to get the latest version with the advanced configuration options?

PacoDw commented 4 years ago

@StephenBerezhnoy These new changes are no deployed to Terraform yet if you want to use or test these new changes, you must use the master branch, just download this repo.

StephenBerezhnoy commented 4 years ago

@PacoDw I'll just wait. Any idea when these changes will be deployed?

PacoDw commented 4 years ago

@StephenBerezhnoy I think the next week it's done, but if you need to work immediately with these new changes I recommend you to use the master branch because everything is ok there.

If you have another comment or question just let me know plz.