feat: Updates `mongodbatlas_federated_settings_org_config` with `data_access_identity_provider_ids`, `user_conflicts`, and changes to `identity_provider_id` #2322
feat(rs): Supports detaching and updating the identity_provider_id
minor changes:
reuse user_conflicts elem schema across resource/data_sources
shorten method names
fix error messages when reading dataSource(s)
add test coverage for updates
Link to any related issue(s): CLOUDP-250916
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.
Further comments
Tests run
go test -timeout 2400s -run ^(TestAccFederatedSettingsOrg_createError|TestAccFederatedSettingsOrg_basic)$ github.com/mongodb/terraform-provider-mongodbatlas/internal/service/federatedsettingsorgconfig -v
=== RUN TestAccFederatedSettingsOrg_createError
=== PAUSE TestAccFederatedSettingsOrg_createError
=== RUN TestAccFederatedSettingsOrg_basic
=== PAUSE TestAccFederatedSettingsOrg_basic
=== CONT TestAccFederatedSettingsOrg_createError
=== CONT TestAccFederatedSettingsOrg_basic
--- PASS: TestAccFederatedSettingsOrg_createError (2.83s)
--- PASS: TestAccFederatedSettingsOrg_basic (18.47s)
PASS
ok github.com/mongodb/terraform-provider-mongodbatlas/internal/service/federatedsettingsorgconfig
Description
changelog changes:
data_access_identity_provider_ids
user_conflicts
identity_provider_id
minor changes:
user_conflicts
elem schema across resource/data_sourcesLink to any related issue(s): CLOUDP-250916
Type of change:
Required Checklist:
Further comments
Tests run