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: Updates singular `mongodbatlas_advanced_cluster` data source to support independent shard scaling & updates relevant flattener methods #2373

Closed maastha closed 2 days ago

maastha commented 4 days ago

Description

This PR updates singular mongodbatlas_advanced_cluster data source to support new independent shard scaling schema & updates relevant flattener methods to use the latest SDK objects wherever possible. To continue supporting current API objects, I have added conversion methods in model_sdk_version_conversion.go

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

Type of change:

Required Checklist:

Further comments

maastha commented 3 days ago

Acceptance tests will be updated in a separate PR