databricks / terraform-databricks-examples

Examples of using Terraform to deploy Databricks resources
https://registry.terraform.io/modules/databricks/examples/databricks/latest
Other
187 stars 116 forks source link

Issue while running the adb-lakehouse example #73

Open suneelsunkara-db opened 1 year ago

suneelsunkara-db commented 1 year ago

Thank you so much for building the Terraform registry modules. I am facing some issues with the modules when I use the below terraform.tfvars. I have Contributor rights on the AD App and I am running below command to Auth before running TF Apply. All the resources are getting created but it leaves me with below error messages. Not sure if the deployment has completed or not.

az login --service-principal -u "ae83018d-d8d7-4198-a10f-6187ba1daec1" -p "xyz" --tenant "9f37a392-f0ae-4280-9796-f1864a10effc"

Even though all the resources get deployed in Azure subscription. I still see below errors.

tfvars cofig used

(url)

[

error screenshot

](url) Am I missing some configuration? or some Role permissions? Am I supposed to use a separate storage account name for an external location?

bbuxton93 commented 1 year ago

I am having a similar issue - did you find a solution?

suneelsunkara-db commented 1 year ago

Hi Brian, No. i couldn't find a solution. My guess is that the Azure AD app needs owner permission but not completely sure. Can anyone help here?

bbuxton93 commented 1 year ago

@suneelsunkara-db I did manage to get it to deploy but continued to have an error with the external data account. I am certainly not a terraform expert, but it seems some of the dependencies may be off and cause the errors. From my testing, the deployment does appear to work across the metastore and other azure resources.

suneelsunkara-db commented 1 year ago

@bbuxton93 Yes. same for me. But i can't validate if the metastore is correctly assigned or not. I don't have access to the Account console.