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
230 stars 167 forks source link

feat: Calling new API version when creating clusters #2363

Closed AgustinBettati closed 4 days ago

AgustinBettati commented 1 week ago

Description

Link to any related issue(s): CLOUDP-257162

This PR adjusts the create operation to start using the new API exclusively, but still preserving the possibility of creating clusters defined in the old schema structure.

Type of change:

Required Checklist:

Further comments

AgustinBettati commented 5 days ago

Keeping an eye on TestAccClusterAdvancedCluster_multicloudSharded as creation seems to be flaky when using new API, sometimes fails with DISK_SIZE_INVALID_FOR_AZURE while currently in nightly runs (using old API) this issue does not appear.