Skip to content

Commit 1a3706c

Browse files
committed
chore: revert cluster deprecatin but include migration guide
1 parent 13cedb7 commit 1a3706c

File tree

8 files changed

+0
-38
lines changed

8 files changed

+0
-38
lines changed

.changelog/2450.txt

-11
This file was deleted.

CHANGELOG.md

-3
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,8 @@ NOTES:
44

55
* data-source/mongodbatlas_advanced_cluster: Deprecates `replication_specs.#.id`, `replication_specs.#.num_shards`, `disk_size_gb`, `advanced_configuration.0.default_read_concern`, and `advanced_configuration.0.fail_index_key_too_long`. To learn more, see the [1.18.0 Migration Guide](https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/guides/1.18.0-upgrade-guide). ([#2420](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/2420))
66
* data-source/mongodbatlas_advanced_clusters: Deprecates `replication_specs.#.id`, `replication_specs.#.num_shards`, `disk_size_gb`, `advanced_configuration.0.default_read_concern`, and `advanced_configuration.0.fail_index_key_too_long`. To learn more, see the [1.18.0 Migration Guide](https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/guides/1.18.0-upgrade-guide). ([#2420](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/2420))
7-
* data-source/mongodbatlas_cluster: Deprecates data source in favour of `mongodbatlas_advanced_cluster` ([#2450](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/2450))
8-
* data-source/mongodbatlas_clusters: Deprecates data source in favour of `mongodbatlas_advanced_clusters` ([#2450](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/2450))
97
* resource/mongodbatlas_advanced_cluster: Deprecates `replication_specs.#.id`, `replication_specs.#.num_shards`, `disk_size_gb`, `advanced_configuration.0.default_read_concern`, and `advanced_configuration.0.fail_index_key_too_long`. To learn more, see the [1.18.0 Migration Guide](https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/guides/1.18.0-upgrade-guide). ([#2420](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/2420))
108
* resource/mongodbatlas_advanced_cluster: Using this new version impacts the possibility of editing the definition of multi shard clusters in the Atlas UI. This impact is limited to the first weeks of August. ([#2478](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/2478))
11-
* resource/mongodbatlas_cluster: Deprecates resource in favour of `mongodbatlas_advanced_cluster` ([#2450](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/2450))
129

1310
ENHANCEMENTS:
1411

docs/data-sources/cluster.md

-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
---
2-
subcategory: "Deprecated"
3-
---
4-
5-
**WARNING:** This data source is deprecated, use `mongodbatlas_advanced_cluster`. To learn more, see the [Migration Guide](../guides/cluster-to-advanced-cluster-migration-guide).
6-
71
# Data Source: mongodbatlas_cluster
82

93
`mongodbatlas_cluster` describes a Cluster. The data source requires your Project ID.

docs/data-sources/clusters.md

-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
---
2-
subcategory: "Deprecated"
3-
---
4-
5-
**WARNING:** This data source is deprecated, use `mongodbatlas_advanced_clusters`. To learn more, see the [Migration Guide](../guides/cluster-to-advanced-cluster-migration-guide).
6-
71
# Data Source: mongodbatlas_clusters
82

93
`mongodbatlas_cluster` describes all Clusters by the provided project_id. The data source requires your Project ID.

docs/guides/1.18.0-upgrade-guide.md

-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ The Terraform MongoDB Atlas Provider version 1.18.0 has a number of new and exci
1919

2020
**Deprecations:**
2121

22-
- `mongodbatlas_cluster` resource and corresponding data sources are deprecated. Instead, use `mongodbatlas_advanced_cluster`. To learn more, see the [Migration Guide](cluster-to-advanced-cluster-migration-guide).
23-
2422
- Deprecations in `mongodbatlas_advanced_cluster` resource and data sources:
2523
- `replication_specs.*.num_shards`: The `replication_specs` list now supports defining an object for each inidividual shard. Use this new schema instead of the `num_shards` attribute. To learn more, see the [Migration Guide](advanced-cluster-new-sharding-schema).
2624
- `disk_size_gb`: The same attribute is now defined under `replication_specs.*.region_configs.*.(electable_specs|analytics_specs|read_only_specs).disk_size_gb`. Replacing this value doesn't affect the underlying cluster. This change in the value's location aligns this value with the updated API schema and allows for future independent storage size scaling.

docs/resources/cluster.md

-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
---
2-
subcategory: "Deprecated"
3-
---
4-
5-
**WARNING:** This resource is deprecated, use `mongodbatlas_advanced_cluster`. To learn more, see the [Migration Guide](../guides/cluster-to-advanced-cluster-migration-guide).
6-
71
# Resource: mongodbatlas_cluster
82

93
`mongodbatlas_cluster` provides a Cluster resource. The resource lets you create, edit and delete clusters. The resource requires your Project ID.

examples/mongodbatlas_cluster/nvme-upgrade/README.md

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# MongoDB Atlas Provider -- Cluster NVME (Non-Volatile Memory Express) Upgrade
22

3-
**WARNING:** `mongodbatlas_cluster` resource and corresponding data sources have been deprecated in favor of `mongodbatlas_advanced_cluster`. To learn more about how to migrate, please read the [Migration Guide](https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/guides/cluster-to-advanced-cluster-migration-guide).
4-
53
This example creates a project and cluster. It is intended to show how to upgrade from Standard, to PROVISIONED storage tier.
64

75
Variables Required:

examples/mongodbatlas_cluster/tenant-upgrade/README.md

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# MongoDB Atlas Provider -- Cluster Tenant Upgrade
22

3-
**WARNING:** `mongodbatlas_cluster` resource and corresponding data sources have been deprecated in favor of `mongodbatlas_advanced_cluster`. To learn more about how to migrate, please read the [Migration Guide](https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/guides/cluster-to-advanced-cluster-migration-guide).
4-
53
This example creates a project and cluster. It is intended to show how to upgrade from shared, aka tenant, to dedicated tier.
64

75
Variables Required:

0 commit comments

Comments
 (0)