Uses id as a computed attribute for the cloud_backup_snapshot_export_job data source
Refactors, the read for the resource and the data source to re-use the logic.
Fixes the acceptance test
Link to any related issue(s): CLOUDP-247721
Type of change:
[ ] Bug fix (non-breaking change which fixes an issue). Please, add the "bug" label to the PR.
[ ] New feature (non-breaking change which adds functionality). Please, add the "enhancement" label to the PR. A migration guide must be created or updated if the new feature will go in a major version.
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected). Please, add the "breaking change" label to the PR. A migration guide must be created or updated.
[x] I have checked that this change does not generate any credentials and that they are NOT accidentally logged anywhere.
[x] I have added tests that prove my fix is effective or that my feature works per HashiCorp requirements
[x] I have added any necessary documentation (if appropriate)
[x] I have run make fmt and formatted my code
[x] If changes include deprecations or removals, I defined an isolated PR with a relevant title as it will be used in the auto-generated changelog.
[x] If changes include removal or addition of 3rd party GitHub actions, I updated our internal document. Reach out to the APIx Integration slack channel to get access to the internal document.
Description
Uses id as a computed attribute for the
cloud_backup_snapshot_export_job
data sourceRefactors, the read for the resource and the data source to re-use the logic. Fixes the acceptance test
Link to any related issue(s): CLOUDP-247721
Type of change:
Required Checklist:
Further comments
Acceptance test:![image](https://github.com/mongodb/terraform-provider-mongodbatlas/assets/6596097/947b2fb2-eb37-4fda-9a48-6eb33224d963)
Migration test![image](https://github.com/mongodb/terraform-provider-mongodbatlas/assets/6596097/94a30ab7-a93b-4718-91dd-e0293442e8c0)