|
| 1 | +--- |
| 2 | +layout: "mongodbatlas" |
| 3 | +page_title: "MongoDB Atlas Provider 1.8.0: Upgrade and Information Guide" |
| 4 | +sidebar_current: "docs-mongodbatlas-guides-180-upgrade-guide" |
| 5 | +description: |- |
| 6 | +MongoDB Atlas Provider 1.8.0: Upgrade and Information Guide |
| 7 | +--- |
| 8 | + |
| 9 | +# MongoDB Atlas Provider 1.8.0: Upgrade and Information Guide |
| 10 | + |
| 11 | +The Terraform MongoDB Atlas Provider version 1.8.0 has a number of new and exciting features and changes. |
| 12 | + |
| 13 | +**New Features:** |
| 14 | +* You can now enable and manage backup [snapshot distribution](https://www.mongodb.com/blog/post/introducing-snapshot-distribution-atlas) with [`mongodbatlas_cloud_backup_schedule`](https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/resources/cloud_backup_schedule) |
| 15 | +* You can now manage the lifecycle of your [Programmatic API Keys](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Programmatic-API-Keys) [`mongodbatlas_api_key`](https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/resources/api_key) |
| 16 | + * **IMPORTANT WARNING:** Managing Atlas Programmatic API Keys (PAKs) with Terraform will expose sensitive organizational secrets in Terraform's state. We suggest following [Terraform's best practices](https://developer.hashicorp.com/terraform/language/state/sensitive-data). You may also want to consider managing your PAKs via a more secure method, such as the [HashiCorp Vault MongoDB Atlas Secrets Engine](https://developer.hashicorp.com/vault/docs/secrets/mongodbatlas). |
| 17 | +* You can now retrieve `org_id` from API Keys with [`mongodbatlas_roles_org_id`](https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/data-sources/roles_org_id) |
| 18 | +* You can now set the [`oplogMinRetentionHours`](https://www.mongodb.com/docs/upcoming/reference/configuration-options/#mongodb-setting-storage.oplogMinRetentionHours) parameter in [`mongodbatlas_advanced_cluster`](https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/resources/advanced_cluster) and [`mongodbatlas_cluster`](https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/resources/cluster) resources |
| 19 | + |
| 20 | + |
| 21 | +**Changes:** |
| 22 | +* `current_certificate` is now hidden when [`mongodbatlas_x509_authentication_database_user`](https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/resources/x509_authentication_database_user) is created |
| 23 | +* Expanded documentation for [`cloud_backup_schedule`](https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/resources/cloud_backup_schedule) to include information about valid values for `frequency_interval` |
| 24 | + |
| 25 | +**Depreciations:** |
| 26 | +* [`mongodbatlas_cloud_provider_snapshot`](https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/resources/cloud_provider_snapshot), [`mongodbatlas_cloud_provider_snapshot_backup_policy`](https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/resources/cloud_provider_snapshot_backup_policy), [`mongodbatlas_cloud_provider_snapshot_restore_job`](https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/resources/cloud_provider_snapshot_restore_job) have been deprecated for a few versions. We will proceed with removal in the next major version, 1.9.0. They have been replaced by [`mongodbatlas_cloud_backup_snapshot`](https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/resources/cloud_backup_snapshot), [`mongodbatlas_cloud_backup_schedule`](https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/resources/cloud_backup_schedule), [`mongodbatlas_cloud_backup_snapshot_restore_job`](https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/resources/cloud_backup_snapshot_restore_job), respectively. |
| 27 | +* [`mongodbatlas_private_ip_mode`](https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/resources/private_ip_mode) has been deprecated for a few versions. We will proceed with removal in the next major version, 1.9.0. |
| 28 | +* NEW_RELIC and FLOWDOCK in the [`mongodbatlas_third_party_integration`](https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/resources/third_party_integration#argument-reference) resource are now deprecated and will be removed in the next major version, 1.9.0. |
| 29 | + |
| 30 | +1.8.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. |
| 31 | + |
| 32 | + |
| 33 | +### Helpful Links |
| 34 | + |
| 35 | +* [Report bugs](https://github.com/mongodb/terraform-provider-mongodbatlas/issues) |
| 36 | + |
| 37 | +* [Request Features](https://feedback.mongodb.com/forums/924145-atlas?category_id=370723) |
| 38 | + |
| 39 | +* [Contact Support](https://docs.atlas.mongodb.com/support/) covered by MongoDB Atlas support plans, Developer and above. |
0 commit comments