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

Migration guide - `mongodbatlas_teams` to `mongodbatlas_team` #2393

Closed d-costa closed 1 month ago

d-costa commented 2 months ago

Is there any documentation regarding the migration of mongodbatlas_teams resources to mongodbatlas_team? We have multiple such resources within modules and need a way to migrate without disrupting teams' access.

Does the team_id change?

github-actions[bot] commented 2 months ago

Thanks for opening this issue! Please make sure you've followed our guidelines when opening the issue. In short, to help us reproduce the issue we need:

The ticket CLOUDP-260565 was created for internal tracking.

AgustinBettati commented 1 month ago

Hi @d-costa.

You can reference to the v1.16.0 migration guide. Here you will find a section within deprecations which gives more details for transitioning to mongodbatlas_team resource.

Underlying implementations of the resources are the same, so team_id will remain the same.

Feel free to reopen if you have any remaining doubts to clarify.