-
Notifications
You must be signed in to change notification settings - Fork 502
Description
Use-cases
Hi, I have a terraform service principal that is admin on the workspace level, I would like to be able to define permissions at the workspace level over who can access and use the Service Principals created by terraform to run jobs using the databricks_access_control_rule_set resource.
Currently databricks_access_control_rule_set can only be used if you are an account admin in Databricks. Our terraform identity is only limited to workspace admin to manage permissions over a particular workspace. So this is not a viable option for us.
However, this is not a security restriction as this is allowed using the UI, which seems to invoking a different API that allows workspace admins to define permissions over the workspace https://adb-***.azuredatabricks.net/ajax-api/2.0/preview/accounts/access-control/rule-sets
Attempted Solutions
No alternative to automate management of Service Principals with permissions only on a workspace level.
Proposal
Add support for workspace admin to define databricks_access_control_rule_set or similar resource at the workspace level using the api indicated above /ajax-api/2.0/preview/accounts/access-control/rule-sets
thanks!