[Feature] Add datasource `databricks_users`
Changes
Added databricks_users data source as requested in #3468 to retrieve multiple users from the account-level API with optional filtering by display_name_contains or user_name_contains, enabling bulk user management operations.
Tests
- [x]
make testrun locally - [x] relevant change in
docs/folder - [x] covered with integration tests in
internal/acceptance - [x] relevant acceptance tests are passing
- [x] using Go SDK
@dgomez04 to fix integration test - make this change: https://github.com/databricks/terraform-provider-databricks/pull/3874/commits/f38cdbc84efb90e84117a2de0417a267857f60d3
Did the changes and tests succeded. Appreciate the guidance, @alexott.
@alexott implemented the changes you requested. Appreciate the insights. Please give it a look and let me know how we want to proceed.
@alexott I've implemented the last batch of requested changes. LMK how it looks.
Test Details: go/deco-tests/12054551572
If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:
Trigger: go/deco-tests-run/terraform
Inputs:
- PR number: 4028
- Commit SHA:
eb6297a5dbdede840efd50aec8ffcace6f37387f
Checks will be approved automatically on success.
Please ensure that the NEXT_CHANGELOG.md file is updated with any relevant changes. If this is not necessary for your PR, please include the following in your PR description: NO_CHANGELOG=true and rerun the job.
Any progress on this ? We are waiting for this feature to grant access to browse for all workspace users. https://github.com/databricks/terraform-provider-databricks/issues/4279#issuecomment-2733483376
Superced by #4537