You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix regression with databricks_group data source introduced by a recent change (#4995)
## Changes
<!-- Summary of your changes that are easy to understand -->
It looks like some users are using the `databricks_group` data source as
non-admin users (in some cases, incorrectly). Recent change in SCIM API
required to change from List to List for `id` + Get to retrieve group
members, but it had an unexpected effect that Get for non-admin users
throws an error as we request for `externalId` attribute.
I got clarification from the SCIM team that changes in the `members`
retrieval are affecting only the account-level API, and not the
workspace-level API. So this PR reimplements the required changes as
follows:
- on account level we do `List` for group ID by name, followed by `Get`
to retrieve `members`, `externalId`, etc.
- on workspace level we use the old implementation of `List` + default
attributes returned by filter operation
Resolves#4994Resolves#4996
## Tests
<!--
How is this tested? Please see the checklist below and also describe any
other relevant tests
-->
- [x] `make test` run locally
- [ ] relevant change in `docs/` folder
- [ ] covered with integration tests in `internal/acceptance`
- [ ] using Go SDK
- [ ] using TF Plugin Framework
- [x] has entry in `NEXT_CHANGELOG.md` file
Copy file name to clipboardExpand all lines: NEXT_CHANGELOG.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,9 +10,11 @@
10
10
11
11
### Bug Fixes
12
12
13
+
* Fix regression with `databricks_group` data source introduced by a recent change ([#4995](https://github.com/databricks/terraform-provider-databricks/pull/4995))
14
+
13
15
### Documentation
14
-
* Document `continuous.task_retry_mode` in `databricks_job` ([#4993](https://github.com/databricks/terraform-provider-databricks/pull/4993))
15
16
17
+
* Document `continuous.task_retry_mode` in `databricks_job` ([#4993](https://github.com/databricks/terraform-provider-databricks/pull/4993))
0 commit comments