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

[FEATURE] Import Entra ID users and groups with data-blocks

Open haardes opened this issue 6 months ago • 7 comments

Use-cases

Importing existing Entra ID users and groups in databricks provider so you can give users/groups access to databricks resources with e.g. databricks_group_member or using databricks_mws_permission_assignment.

Attempted Solutions

Tried adding data-blocks for databricks_group and databricks_user with user_name/display_name of existing groups. Terrafrom plan fails (for databricks_group) with error message "cannot read group" if given a display_name that exists in Entra ID but has not been given explicit access to the workspace through the Databricks UI.

Proposal

Read existing groups and users from Entra ID and make them available in terraform data-blocks. We can manually add Entra ID groups and users in Databricks identity management and later use them in data-blocks, but we would like them to be imported when referencing them in data-blocks.

References

haardes avatar May 02 '25 22:05 haardes