terraform-provider-databricks icon indicating copy to clipboard operation
terraform-provider-databricks copied to clipboard

[Feature] Add datasource `databricks_users`

Open dgomez04 opened this issue 1 year ago • 2 comments

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 test run 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 avatar Sep 17 '24 23:09 dgomez04

@dgomez04 to fix integration test - make this change: https://github.com/databricks/terraform-provider-databricks/pull/3874/commits/f38cdbc84efb90e84117a2de0417a267857f60d3

alexott avatar Oct 02 '24 13:10 alexott

Did the changes and tests succeded. Appreciate the guidance, @alexott.

dgomez04 avatar Oct 02 '24 16:10 dgomez04

@alexott implemented the changes you requested. Appreciate the insights. Please give it a look and let me know how we want to proceed.

dgomez04 avatar Nov 20 '24 17:11 dgomez04

@alexott I've implemented the last batch of requested changes. LMK how it looks.

dgomez04 avatar Nov 27 '24 16:11 dgomez04

Test Details: go/deco-tests/12054551572

eng-dev-ecosystem-bot avatar Nov 27 '24 16:11 eng-dev-ecosystem-bot

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.

github-actions[bot] avatar Feb 27 '25 07:02 github-actions[bot]

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.

github-actions[bot] avatar Feb 27 '25 07:02 github-actions[bot]

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

fludo avatar Mar 18 '25 14:03 fludo

Superced by #4537

alexott avatar Jun 03 '25 10:06 alexott