Skip to content

Commit 6acb141

Browse files
lantolijwilliams-mongoZuhairahmed
authored
doc: generate v1.12.0 (#1478)
* generated by github_changelog_generator * update CHANGELOG.md * update releasing instructions * update CHANGELOG.md to address comments in the PR * address PR comments about deprecations * Update CHANGELOG.md doc review Co-authored-by: John Williams <[email protected]> * Update CHANGELOG.md doc review Co-authored-by: John Williams <[email protected]> * Update CHANGELOG.md doc review Co-authored-by: John Williams <[email protected]> * Update CHANGELOG.md doc review Co-authored-by: John Williams <[email protected]> * Update CHANGELOG.md doc review Co-authored-by: John Williams <[email protected]> * Update CHANGELOG.md doc review Co-authored-by: John Williams <[email protected]> * Update CHANGELOG.md doc review Co-authored-by: John Williams <[email protected]> * Update CHANGELOG.md doc review Co-authored-by: John Williams <[email protected]> * doc review * Update CHANGELOG.md * Update CHANGELOG.md * Create 1.12.0-upgrade-guide.html.markdown * Update CHANGELOG.md PM doc review Co-authored-by: Zuhair Ahmed <[email protected]> * Update CHANGELOG.md PM doc review Co-authored-by: Zuhair Ahmed <[email protected]> * Update CHANGELOG.md PM doc review Co-authored-by: Zuhair Ahmed <[email protected]> * Update CHANGELOG.md PM doc review Co-authored-by: Zuhair Ahmed <[email protected]> * Update CHANGELOG.md PM doc review Co-authored-by: Zuhair Ahmed <[email protected]> * Update CHANGELOG.md PM doc review Co-authored-by: Zuhair Ahmed <[email protected]> * PM doc review * update release instructions --------- Co-authored-by: John Williams <[email protected]> Co-authored-by: Zuhair Ahmed <[email protected]>
1 parent 97e82a6 commit 6acb141

File tree

4 files changed

+123
-14
lines changed

4 files changed

+123
-14
lines changed

.github_changelog_generator

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
future-release=v1.11.1
2-
since-tag=v1.11.0
1+
future-release=v1.12.0
2+
since-tag=v1.11.1
33
date-format=%B %d, %Y
44
base=CHANGELOG.md

CHANGELOG.md

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,76 @@
11
# Changelog
2+
3+
## [v1.12.0](https://github.com/mongodb/terraform-provider-mongodbatlas/tree/v1.12.0) (2023-09-20)
4+
5+
[Full Changelog](https://github.com/mongodb/terraform-provider-mongodbatlas/compare/v1.11.1...v1.12.0)
6+
7+
**Enhancements**
8+
9+
- Support for `tags` attribute in `mongodbatlas_cluster`, `mongodbatlas_advanced_cluster`, and `mongodbatlas_serverless_instance`. See [Atlas Resource Tags](https://www.mongodb.com/docs/atlas/tags/) to learn more. [\#1461](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1461) ([AgustinBettati](https://github.com/AgustinBettati))
10+
- Support for new `mongodbatlas_atlas_user` and `mongodbatlas_atlas_users` data sources [\#1432](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1432) ([AgustinBettati](https://github.com/AgustinBettati))
11+
12+
**Bug Fixes**
13+
14+
- Populates `total_count` in `mongodbatlas_alert_configurations` data source [\#1476](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1476) ([lantoli](https://github.com/lantoli))
15+
- Improves error handling for `cloud_backup_schedule` resource. [\#1474](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1474) ([marcosuma](https://github.com/marcosuma))
16+
- Handles incorrect ids when importing `alert_configuration` or `project_ip_access_list` resources [\#1472](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1472) ([lantoli](https://github.com/lantoli))
17+
- Fix when removing `collectionName` from user role [\#1471](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1471) ([marcosuma](https://github.com/marcosuma))
18+
- Changelog Spelling Fixes [\#1457](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1457) ([Zuhairahmed](https://github.com/Zuhairahmed))
19+
- Adds `mongodbatlas_database_user` username parameter OIDC footnote in docs [\#1458](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1458) ([Zuhairahmed](https://github.com/Zuhairahmed))
20+
21+
**Deprecations and Removals**
22+
23+
- Deprecation of `labels` attribute in `mongodbatlas_cluster` and `mongodbatlas_advanced_cluster` resources.
24+
- Remove deprecated fields in `mongodbatlas_alert_configuration` resource [\#1385](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1385) ([AgustinBettati](https://github.com/AgustinBettati))
25+
- Removal of `api_keys` attribute from `mongodbatlas_project` [\#1365](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1365) ([maastha](https://github.com/maastha))
26+
- Removal of attributes in `mongodbatlas_encryption_at_rest` resource: aws_kms, azure_key_vault, google_cloud_kms [\#1383](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1383) ([maastha](https://github.com/maastha))
27+
- Removal of MongoDB Atlas Terraform Provider v1.12.0 deprecated fields. [\#1418](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1418) ([marcosuma](https://github.com/marcosuma))
28+
- provider: duration_seconds
29+
- advanced_cluster resource: bi_connector
30+
- cloud_backup_snapshot_restore_job resource: delivery_type
31+
- cloud_provider_access_setup resource: aws
32+
- cluster resource: bi_connector, provider_backup_enabled, aws_private_link, aws_private_link_srv
33+
- database_user resource: provider_backup_enabled
34+
- project_api_key resource: role_names
35+
- cluster and clusters data sources: bi_connector
36+
- project_key and project_keys data sources: role_names
37+
38+
**Closed Issues**
39+
40+
- Alert notification interval\_min not working [\#1464](https://github.com/mongodb/terraform-provider-mongodbatlas/issues/1464)
41+
- Changing DB user role from [email protected]1 to readwrite@DB doesn't work [\#1462](https://github.com/mongodb/terraform-provider-mongodbatlas/issues/1462)
42+
- Unable to deploy a DISK\_PARTITION\_UTILIZATION\_DATA AlertConfiguration [\#1410](https://github.com/mongodb/terraform-provider-mongodbatlas/issues/1410)
43+
- Error: The terraform-provider-mongodbatlas\_v1.11.0 plugin crashed [\#1396](https://github.com/mongodb/terraform-provider-mongodbatlas/issues/1396)
44+
- Trigger resource does not force replacement when app id changes [\#1310](https://github.com/mongodb/terraform-provider-mongodbatlas/issues/1310)
45+
46+
**Internal Improvements**
47+
48+
- Bump goreleaser/goreleaser-action from 4 to 5 [\#1470](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1470) ([dependabot[bot]](https://github.com/apps/dependabot))
49+
- Bump github.com/aws/aws-sdk-go from 1.45.4 to 1.45.8 [\#1469](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1469) ([dependabot[bot]](https://github.com/apps/dependabot))
50+
- Merge feature branch into master [\#1460](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1460) ([andreaangiolillo](https://github.com/andreaangiolillo))
51+
- Bump github.com/aws/aws-sdk-go from 1.45.2 to 1.45.4 [\#1459](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1459) ([dependabot[bot]](https://github.com/apps/dependabot))
52+
- Bump github.com/hashicorp/terraform-plugin-testing from 1.4.0 to 1.5.1 [\#1455](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1455) ([dependabot[bot]](https://github.com/apps/dependabot))
53+
- Bump github.com/zclconf/go-cty from 1.13.3 to 1.14.0 [\#1454](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1454) ([dependabot[bot]](https://github.com/apps/dependabot))
54+
- Bump github.com/hashicorp/hcl/v2 from 2.17.0 to 2.18.0 [\#1453](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1453) ([dependabot[bot]](https://github.com/apps/dependabot))
55+
- Bump actions/checkout from 3 to 4 [\#1452](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1452) ([dependabot[bot]](https://github.com/apps/dependabot))
56+
- Fix docs and example fix for project\_api\_key resource after removing role\_names deprecated field [\#1441](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1441) ([AgustinBettati](https://github.com/AgustinBettati))
57+
- Add breaking changes strategy for Terraform [\#1431](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1431) ([wtrocki](https://github.com/wtrocki))
58+
- Extract Configure and Metadata framework functions into single implementation [\#1424](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1424) ([AgustinBettati](https://github.com/AgustinBettati))
59+
- Fix INTMDB-1017 - Updated alert configuration schema with required params [\#1421](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1421) ([andreaangiolillo](https://github.com/andreaangiolillo))
60+
- IP Access List doc updates for Terraform Resources, Data Sources [\#1414](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1414) ([zach-carr](https://github.com/zach-carr))
61+
- Avoid diff in state after import for undefined optional attribute in alert config notification [\#1412](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1412) ([AgustinBettati](https://github.com/AgustinBettati))
62+
- Migrate Resource: mongodbatlas\_project\_ip\_access\_list to Terraform Plugin Framework [\#1411](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1411) ([andreaangiolillo](https://github.com/andreaangiolillo))
63+
- Remove validation of empty public\_key and private\_key attributes in provider config to avoid breaking change [\#1402](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1402) ([AgustinBettati](https://github.com/AgustinBettati))
64+
- Migrate DataSource mongodbatlas\_alert\_configuration to Terraform Plugin Framework [\#1397](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1397) ([AgustinBettati](https://github.com/AgustinBettati))
65+
- Migrate DataSource: mongodbatlas\_project\_ip\_access\_list to Terraform Plugin Framework [\#1395](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1395) ([andreaangiolillo](https://github.com/andreaangiolillo))
66+
- Migrate Resource: mongodbatlas\_database\_user to Terraform Plugin Framework [\#1388](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1388) ([andreaangiolillo](https://github.com/andreaangiolillo))
67+
- Update project documentation to remove api\_keys references [\#1386](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1386) ([maastha](https://github.com/maastha))
68+
- Migrates `mongodbatlas_alert_configuration` resource and removes deprecated fields [\#1385](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1385) ([AgustinBettati](https://github.com/AgustinBettati))
69+
- Prepares migration to Terraform framework [\#1384](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1384) ([andreaangiolillo](https://github.com/andreaangiolillo))
70+
- Migrates `mongodbatlas_encryption_at_rest` resource to Terraform Plugin Framework [\#1383](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1383) ([maastha](https://github.com/maastha))
71+
- Adds new framework provider, main and acceptance tests to use mux server with existing sdk v2 provider [\#1366](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1366) ([AgustinBettati](https://github.com/AgustinBettati))
72+
- Migrates `mongodbatlas_project` resource to Terraform Plugin Framework and remove api\_keys attribute [\#1365](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1365) ([maastha](https://github.com/maastha))
73+
274
## [v1.11.1](https://github.com/mongodb/terraform-provider-mongodbatlas/tree/v1.11.1) (2023-09-06)
375

476
[Full Changelog](https://github.com/mongodb/terraform-provider-mongodbatlas/compare/v1.11.0...v1.11.1)

RELEASING.md

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,8 @@
99
### Pre-release the provider
1010
We pre-release the provider to make for testing purpose. **A Pre-release is not published to the Hashicorp Terraform Registry**.
1111

12-
- Create and push the pre-release tag (`X.Y.Z-pre`) to master
13-
```bash
14-
git tag [YOUR_TAG]-pre
15-
git push origin [YOUR_TAG]-pre
16-
```
12+
- Create a pre-release (`vX.Y.Z-pre1`) from [GitHub Release page](https://github.com/mongodb/terraform-provider-mongodbatlas/releases). Click in "Generate release notes" to autofill the description.
13+
1714
- You will see the release in the [GitHub Release page](https://github.com/mongodb/terraform-provider-mongodbatlas/releases) once the [release action](.github/workflows/release.yml) has completed.
1815

1916
### Generate the CHANGELOG.md
@@ -22,17 +19,13 @@ We use a tool called [github changelog generator](https://github.com/github-chan
2219
- Update `since_tag` and `future-release` in [.github_changelog_generator](https://github.com/mongodb/terraform-provider-mongodbatlas/blob/master/.github_changelog_generator)
2320
- **There is a bug with `github_changelog_generator` ([#971](https://github.com/github-changelog-generator/github-changelog-generator/issues/971))**: Make sure to update the `future-tag` with the pre-release tag. Once you generate the changelog, update `future-tag` with the final release tag in [.github_changelog_generator](https://github.com/mongodb/terraform-provider-mongodbatlas/blob/master/.github_changelog_generator). Then, manually update the generated changelog to remove references to the pre-release tag
2421
- Run the following command:
25-
26-
```bash
27-
github_changelog_generator -u mongodb -p terraform-provider-mongodbatlas -t <GH_TOKEN> --enhancement-label "**Enhancements**" --bugs-label "**Bug Fixes**" --issues-label "**Closed Issues**" --pr-label "**Internal Improvements**"
28-
```
29-
or using docker image
3022
```bash
3123
docker run -it --rm -v "$(pwd)":/usr/local/src/your-app githubchangeloggenerator/github-changelog-generator -u mongodb -p terraform-provider-mongodbatlas -t <GH_TOKEN> --enhancement-label "**Enhancements**" --bugs-label "**Bug Fixes**" --issues-label "**Closed Issues**" --pr-label "**Internal Improvements**"
3224
```
3325
To obtain your github personal access token you can use the following guide: [Authorizing a personal access token for use with SAML single sign-on](https://docs.github.com/en/enterprise-cloud@latest/authentication/authenticating-with-saml-single-sign-on/authorizing-a-personal-access-token-for-use-with-saml-single-sign-on)
34-
- Make any manual adjustments if needed, and open a PR against the **master** branch
35-
- Example: [#1308](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1308)
26+
- Create a JIRA ticket and open a PR against the **master** branch. Make any manual adjustments if needed taking into account date format and format parameter names and resources/data source names if they begin with `mongodbatlas`.
27+
- Example: [#1478](https://github.com/mongodb/terraform-provider-mongodbatlas/pull/1478).
28+
- If the right most version digit is 0 then create a new doc in /website/docs/guides/X.Y.0-upgrade-guide.html
3629

3730
### Release the provider
3831
- Follow the same steps in the pre-release but provide the final release tag (example `v1.9.0`). This will trigger the release action that will release the provider to the GitHub Release page. Harshicorp has a process in place that will retrieve the latest release from the GitHub repository and add the binaries to the Hashicorp Terraform Registry.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
layout: "mongodbatlas"
3+
page_title: "MongoDB Atlas Provider 1.12.0: Upgrade and Information Guide"
4+
sidebar_current: "docs-mongodbatlas-guides-1120-upgrade-guide"
5+
description: |-
6+
MongoDB Atlas Provider 1.12.0: Upgrade and Information Guide
7+
---
8+
9+
# MongoDB Atlas Provider 1.12.0: Upgrade and Information Guide
10+
11+
The Terraform MongoDB Atlas Provider version 1.12.0 has a number of new and exciting features.
12+
13+
**New Resources, Data Sources, and Features:**
14+
- You can now manage [Atlas Resource Tags](https://www.mongodb.com/docs/atlas/tags/) in [`mongodbatlas_cluster`](https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/resources/cluster), [`mongodbatlas_advanced_cluster`](https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/resources/advanced_cluster), and [`mongodbatlas_serverless_instance`](https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/resources/serverless_instance).
15+
- You can now programmatically retrieve Atlas Organizational User details with [`mongodbatlas_atlas_user`](https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/data-sources/atlas_user) and [`mongodbatlas_atlas_users`](https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/data-sources/atlas_users) data sources
16+
17+
18+
**Deprecations and Removals:**
19+
- Deprecation of `labels` attribute in `mongodbatlas_cluster` and `mongodbatlas_advanced_cluster` resources.
20+
- Removal of deprecated fields in `mongodbatlas_alert_configuration` resource
21+
- Removal of `api_keys` attribute from `mongodbatlas_project`
22+
- Removal attributes in `mongodbatlas_encryption_at_rest` resource: aws_kms, azure_key_vault, google_cloud_kms
23+
- Removal of below additional MongoDB Atlas Terraform Provider v1.12.0 deprecated fields
24+
- provider: duration_seconds
25+
- advanced_cluster resource: bi_connector
26+
- cloud_backup_snapshot_restore_job resource: delivery_type
27+
- cloud_provider_access_setup resource: aws
28+
- cluster resource: bi_connector, provider_backup_enabled, aws_private_link, aws_private_link_srv
29+
- database_user resource: provider_backup_enabled
30+
- project_api_key resource: role_names
31+
- cluster and clusters data sources: bi_connector
32+
- project_key and project_keys data sources: role_names
33+
34+
35+
1.12.0 also includes other 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.
36+
37+
38+
### Helpful Links
39+
40+
* [Report bugs](https://github.com/mongodb/terraform-provider-mongodbatlas/issues)
41+
42+
* [Request Features](https://feedback.mongodb.com/forums/924145-atlas?category_id=370723)
43+
44+
* [Contact Support](https://docs.atlas.mongodb.com/support/) covered by MongoDB Atlas support plans, Developer and above.

0 commit comments

Comments
 (0)