Databricks account admin access limitations

Lukas Kotulac 50 Reputation points
2023-10-25T23:21:32.89+00:00

Hey, we are trying to develop terraform code for deploying Azure Databricks workspaces with unity catalog into our Azure account
Unfortunately, we have only one Databricks Account where will be multiple workspaces

Based on this doc.
https://registry.terraform.io/providers/databricks/databricks/latest/docs/guides/unity-catalog-azure

We need to setup 2 providers

  • one for workspace itself
  • one for databricks account
provider "databricks" {
  host = local.databricks_workspace_host
}

provider "databricks" {
  alias = "accounts"
  host  = "https://accounts.azuredatabricks.net"
}

But for creating unity catalog resources we need an admin access to the Databricks account

As these workspaces will be used by different customers, with ability to deploy these things automatically via terraform. We believe it is not good idea to have this kind of access on our app registration which will be running these terraform scripts

Is there any way how to use this account provider without so much power?

Thanks!

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,222 questions
0 comments No comments
{count} votes

Accepted answer
  1. PRADEEPCHEEKATLA 90,231 Reputation points
    2023-10-26T07:59:10.4566667+00:00

    @Lukas Kotulac - Thanks for the question and using MS Q&A platform.

    Based on the documentation you provided, it seems that you need admin access to the Databricks account to create unity catalog resources.

    In order to successfully complete you need to meet the prerequisites as metioned in the document.

    Initialize the 3 providers to set up the required resources. See Databricks provider authentication, Azure AD provider authentication and Azure provider authentication.

    In case, if you still have question, please report an issue here: https://github.com/databricks/terraform-provider-databricks/issuesUser's image

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.