-
Notifications
You must be signed in to change notification settings - Fork 204
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
base: CLOUDP-320243-dev-2.0.0
Are you sure you want to change the base?
Conversation
APIx bot: a message has been sent to Docs Slack channel |
// TODO: uncomment before merging this, this is temporary to make sure the test is working | ||
// mig.SkipIfVersionBelow(t, "2.0.0") |
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.
👀
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.
removed in 5a30622
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.
With one question.
* 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 comment
The 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 comment
The reason will be displayed to describe this comment to others. Learn more.
Because "auto_export_enabled
must be set to true when defining this attribute." is no longer true. It's not necessary to set auto_export_enabled
to true when setting export
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.
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.
@@ -0,0 +1,3 @@ | |||
```release-note:breaking-change | |||
resource/mongodbatlas_cloud_backup_schedule: Changes `export` and `auto_export_enabled` to Optional only |
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
Description
Changes
export
andauto_export_enabled
to Optional only inmongodbatlas_cloud_backup_schedule
resource.We are considering this a breaking change because of the following scenario:
Link to any related issue(s): CLOUDP-301129
Type of change:
Required Checklist:
Further comments