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
Added search by display_name to databricks_service_principal data source (#2963)
* Added search by `display_name` to `databricks_service_principal` data source
Allow to search not only by `application_id`, but also by the exact `display_name`.
This fixes#2959
* Address review comments
* More review comments
Data source allows you to pick service principals by the following attributes
32
+
Data source allows you to pick service principals by one of the following attributes (only one of them):
33
33
34
-
-`application_id` - (Required) ID of the service principal. The service principal must exist before this resource can be retrieved.
34
+
-`application_id` - (Required if `display_name` isn't used) ID of the service principal. The service principal must exist before this resource can be retrieved.
35
+
-`display_name` - (Required if `application_id` isn't used) Exact display name of the service principal. The service principal must exist before this resource can be retrieved. In case if there are several service principals with the same name, an error is thrown.
0 commit comments