-
Notifications
You must be signed in to change notification settings - Fork 205
feat: Changes export
and auto_export_enabled
to Optional only in mongodbatlas_cloud_backup_schedule
resource
#3500
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
3b46c6a
97ee21a
2e3ce72
6298480
7f19b52
723f2d6
f01f1fd
5a30622
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:breaking-change | ||
resource/mongodbatlas_cloud_backup_schedule: Changes `export` and `auto_export_enabled` to Optional only | ||
``` |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -228,12 +228,12 @@ resource "mongodbatlas_cloud_backup_schedule" "test" { | |
* `policy_item_weekly` - (Optional) Weekly policy item. See [below](#policy_item_weekly) | ||
* `policy_item_monthly` - (Optional) Monthly policy item. See [below](#policy_item_monthly) | ||
* `policy_item_yearly` - (Optional) Yearly policy item. See [below](#policy_item_yearly) | ||
* `auto_export_enabled` - Flag that indicates whether MongoDB Cloud automatically exports Cloud Backup Snapshots to the Export Bucket. Once enabled, it must be disabled by explicitly setting the value to `false`. Value can be one of the following: | ||
* `auto_export_enabled` - (Optional) Flag that indicates whether MongoDB Cloud automatically exports Cloud Backup Snapshots to the Export Bucket. Value can be one of the following: | ||
* true - Enables automatic export of cloud backup snapshots to the Export Bucket. | ||
* false - Disables automatic export of cloud backup snapshots to the Export Bucket. (default) | ||
* `use_org_and_group_names_in_export_prefix` - Specify true to use organization and project names instead of organization and project UUIDs in the path for the metadata files that Atlas uploads to your bucket after it finishes exporting the snapshots. To learn more about the metadata files that Atlas uploads, see [Export Cloud Backup Snapshot](https://www.mongodb.com/docs/atlas/backup/cloud-backup/export/#std-label-cloud-provider-snapshot-export). | ||
* `copy_settings` - List that contains a document for each copy setting item in the desired backup policy. See [below](#copy_settings) | ||
* `export` - Policy for automatically exporting Cloud Backup Snapshots. `auto_export_enabled` must be set to true when defining this attribute. See [below](#export) | ||
* `export` - Policy for automatically exporting Cloud Backup Snapshots. See [below](#export) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why did we remove the line about the auto_export_enabled? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Because " There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh so you can have a policy, but still have the export as disabled. I see. Still a bit confusing, but at least consistent with the other change. |
||
### export | ||
* `export_bucket_id` - Unique identifier of the mongodbatlas_cloud_backup_snapshot_export_bucket export_bucket_id value. | ||
* `frequency_type` - Frequency associated with the export snapshot item: `weekly`, `monthly`, `yearly`, `daily` (requires reaching out to Customer Support) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are we going to have an entry in the 2.0.0 upgrade guide about this explaining why and what's going to happen ? I am wondering if you are tracking that work to be done with some CLOUD? easy to forget considering we're going to have a lot of open conversations
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have created CLOUDP-332342 to track that work