Closed PaulMaksud closed 8 months ago
Thanks for reporting the issue.
Can you elaborate on the environment you're running this command in? The logs suggest you're using MSI. Is this on a CI runner, on an Azure VM, or on a personal laptop? And were you able to make this work when using DATABRICKS_TOKEN?
Yes indeed, I'm using an user managed identity of an azure vmss that has the contributor right on the databricks workspace as long as been declared as a service principal on the ui admin settings in that example.
For the DATABRICK_TOKEN it's working when I use my own either on local or on the vmss, I didn't try with the managed identity one (as it requires to pass by the api to get it)
But I also have the same Terraform error when i log in my local computer when I run az login and when I unset my databricks profile (that register my token)
It's the same behavior, it's able to upload the code to the .bundle folder in the workspace then fail with the above error.
Hi @PaulMaksud would you mind trying this with the latest version of the CLI?
Closing this issue since there's been no activity in a while, feel free to reopen with additional details if necessary!
when using az login instead of DATABRICK_TOKEN. databricks bundle deploy is able to upload code correctly on workspace but when comes to resource creation it fails with a terraform error like this :