Skip to content

Commit 7271d8a

Browse files
author
Cristina Sánchez Sánchez
committed
Merge branch 'CLOUDP-320243-dev-2.0.0' into CLOUDP-333176
2 parents 8d3db26 + de62fd3 commit 7271d8a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+1100
-302
lines changed

.changelog/3525.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
```release-note:enhancement
2+
resource/mongodbatlas_flex_cluster: Adds `timeouts` attribute for create, update and delete operations
3+
```
4+
5+
```release-note:enhancement
6+
resource/mongodbatlas_flex_cluster: Adds `delete_on_create_timeout` attribute to indicate whether to delete the resource if its creation times out
7+
```

.changelog/3536.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
resource/mongodbatlas_cloud_backup_snapshot: Adds `delete_on_create_timeout` attribute to indicate whether to delete the resource if its creation times out
3+
```

.changelog/3541.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
resource/mongodbatlas_cluster_outage_simulation: Adds `delete_on_create_timeout` attribute to indicate whether to delete the resource if its creation times out
3+
```

.changelog/3542.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
resource/mongodbatlas_online_archive: Adds `delete_on_create_timeout` attribute to indicate whether to delete the resource if its creation times out
3+
```

.changelog/3543.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
resource/mongodbatlas_privatelink_endpoint: Adds `delete_on_create_timeout` attribute to indicate whether to delete the resource if its creation times out
3+
```

.changelog/3545.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
resource/mongodbatlas_privatelink_endpoint_service: Adds `delete_on_create_timeout` attribute to indicate whether to delete the resource if its creation times out
3+
```

docs/guides/2.0.0-upgrade-guide.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
layout: "mongodbatlas"
3+
page_title: "MongoDB Atlas Provider 2.0.0: Upgrade and Information Guide"
4+
sidebar_current: "docs-mongodbatlas-guides-200-upgrade-guide"
5+
description: |-
6+
MongoDB Atlas Provider 2.0.0: Upgrade and Information Guide
7+
---
8+
9+
# MongoDB Atlas Provider 2.0.0: Upgrade and Information Guide
10+
11+
**New Features**
12+
13+
The Terraform MongoDB Atlas Provider version 2.0.0 has the following new features:
14+
15+
16+
**Breaking Changes**
17+
18+
- `export` and `auto_export_enabled` are now optional only arguments in `mongodbatlas_cloud_backup_schedule `. This facilitates tracking changes in their configurations.
19+
20+
- `hour_of_day` is now defined as required for `mongodbatlas_maintenance_window`resources. This clarification prevents errors when creating new resources.
21+
22+
- `actions` now is set as `TypeSet` in `mongodbatlas_custom_db_role`. This prevents plan diffs when reordering the `actions` in `mongodbatlas_custom_db_role` resource.
23+
24+
25+
2.0.0 also includes general improvements, bug fixes, and several key documentation updates. See the [CHANGELOG](https://github.com/mongodb/terraform-provider-mongodbatlas/blob/master/CHANGELOG.md) for more specific information.
26+
27+
28+
### Helpful Links
29+
30+
* [Report bugs](https://github.com/mongodb/terraform-provider-mongodbatlas/issues)
31+
32+
* [Request Features](https://feedback.mongodb.com/forums/924145-atlas?category_id=370723)
33+
34+
* [Contact Support](https://docs.atlas.mongodb.com/support/) covered by MongoDB Atlas support plans, Developer and above.

docs/index.md

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,77 @@ In addition to [generic `provider` arguments](https://www.terraform.io/docs/conf
172172

173173
For more information on configuring and managing programmatic API Keys see the [MongoDB Atlas Documentation](https://docs.atlas.mongodb.com/tutorial/manage-programmatic-access/index.html).
174174

175+
## MongoDB Atlas Provider Versioning Policy
176+
177+
In order to promote stability, predictability, and transparency, the MongoDB Atlas Terraform Provider will implement **semantic versioning** with a **scheduled release cadence**. Our goal is to deliver regular improvements to the provider without overburdening users with frequent breaking changes.
178+
179+
---
180+
181+
### Definition of Breaking Changes
182+
183+
Our definition of breaking changes aligns with the impact updates have on the customer:
184+
185+
Breaking changes are defined as any change that requires user intervention to address.
186+
This may include:
187+
188+
- Modifying existing schema (e.g., removing or renaming fields, renaming resources)
189+
- Changes to business logic (e.g., implicit default values or server-side behavior)
190+
- Provider-level changes (e.g., changing retry behavior)
191+
192+
Final confirmation of a breaking change — possibly leading to an exemption — is subject to:
193+
194+
- MongoDB’s understanding of the adoption level of the feature
195+
- Timing of the next planned major release
196+
- The change's relation to a bug fix
197+
198+
---
199+
200+
### Versioning Strategy
201+
202+
We follow [semantic versioning](https://semver.org/) for all updates:
203+
204+
- **Major (X.0.0):** Introduces breaking changes (as defined by MongoDB)
205+
- **Minor (X.Y.0):** Adds non-breaking changes and announces deprecations
206+
- **Patch (X.Y.Z):** Includes bug fixes and documentation updates
207+
208+
We do not utilize pre-release versioning at this time.
209+
210+
---
211+
212+
### Release Cadence
213+
214+
To minimize unexpected changes, we follow a scheduled cadence:
215+
216+
- **Minor and patch** versions follow a **biweekly** release pattern
217+
- **Major** versions are released **once per year**, with a maximum of **two per calendar year**
218+
- The provider team may adjust the schedule based on need
219+
220+
**Off-cycle releases** may occur for critical security flaws or regressions.
221+
222+
---
223+
224+
### Deprecation Policy
225+
226+
We use a structured deprecation window to notify customers in advance:
227+
228+
- Breaking changes are **deprecated in a minor version** with:
229+
- Warnings in migration guides, changelogs, and resource usage
230+
- Deprecated functionality is **removed in the next 1–2 major versions**, unless otherwise stated
231+
232+
---
233+
234+
### Customer Communication
235+
236+
We are committed to clear and proactive communication:
237+
238+
- **Each release** includes a [changelog](https://github.com/mongodb/terraform-provider-mongodbatlas/releases) clearly labeling:
239+
- `breaking`, `deprecated`, `bug-fix`, `feature`, and `enhancement` changes
240+
- **Major versions** include migration guides
241+
- **Minor and patch versions** generally do not include migration guides, but may if warranted
242+
- **GitHub tags** with `vX.Y.Z` format are provided for all releases
243+
244+
---
245+
175246
## [HashiCorp Terraform Version](https://www.terraform.io/downloads.html) Compatibility Matrix
176247

177248
<!-- DO NOT remove below placeholder comments as this table is auto-generated -->

docs/resources/cloud_backup_snapshot.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ resource "mongodbatlas_cloud_backup_snapshot_restore_job" "test" {
5757
* `description` - (Required) Description of the on-demand snapshot.
5858
* `retention_in_days` - (Required) The number of days that Atlas should retain the on-demand snapshot. Must be at least 1.
5959
* `timeouts`- (Optional) The duration of time to wait for Atlas to create a Cloud Backup Snapshot. The timeout value is defined by a signed sequence of decimal numbers with a time unit suffix such as: `1h45m`, `300s`, `10m`, etc. The valid time units are: `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`. Defaults to `1h`. Learn more about timeouts [here](https://www.terraform.io/plugin/sdkv2/resources/retries-and-customizable-timeouts).
60+
* `delete_on_create_timeout`- (Optional) Flag that indicates whether to delete the resource if creation times out. Default is `true`. When Terraform apply fails, it returns immediately without waiting for cleanup to complete. If you suspect a transient error, wait before retrying to allow resource deletion to finish.
6061

6162
## Attributes Reference
6263

docs/resources/cluster_outage_simulation.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ resource "mongodbatlas_cluster_outage_simulation" "outage_simulation" {
4343
* `GCP`
4444
* `AZURE`
4545
* `region_name` - (Required) The Atlas name of the region to undergo an outage simulation.
46+
* `timeouts`- (Optional) The duration of time to wait for Cluster Outage Simulation to be created or deleted. The timeout value is defined by a signed sequence of decimal numbers with a time unit suffix such as: `1h45m`, `300s`, `10m`, etc. The valid time units are: `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`. The default timeout for Cluster Outage Simulation create and delete is `25m`. Learn more about timeouts [here](https://www.terraform.io/plugin/sdkv2/resources/retries-and-customizable-timeouts).
47+
* `delete_on_create_timeout` - (Optional) Flag that indicates whether to delete the resource if creation times out. Default is `true`. When Terraform apply fails, it returns immediately without waiting for cleanup to complete. If you suspect a transient error, wait before retrying to allow resource deletion to finish.
4648

4749
## Attributes Reference
4850

0 commit comments

Comments
 (0)