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
242 stars 168 forks source link

Replace "mongodbatlas_project_ip_whitelist" resource/datasource/docs references with "mongodbatlast_project_ip_accesslist" to reflect API/UI change. #358

Closed TonyLovesDevOps closed 3 years ago

TonyLovesDevOps commented 3 years ago

Terraform CLI and Terraform MongoDB Atlas Provider Version

Terraform v0.13.5
+ provider registry.terraform.io/mongodb/mongodbatlas v0.6.5

We hold these truths to be self-evident, that all men are created equal...

Both the MongoDB Atlas UI and the API endpoint have been changed to remove references to the old and busted whitelist verbiage in favor of the new and shiny accesslist verbiage. This provider should follow suit, especially since the whitelist API endpoint will be going away in ~seven months.

themantissa commented 3 years ago

@TonyLovesDevOps already done - and released in 0.7.0 https://github.com/mongodb/terraform-provider-mongodbatlas/pull/332 and https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/resources/project_ip_access_list

themantissa commented 3 years ago

And as a personal note:

We hold these truths to be self-evident, that all people are created equal...

:)

themantissa commented 3 years ago

Did realize the deprecation message was not added yet - thank you! https://github.com/mongodb/terraform-provider-mongodbatlas/pull/359