databricks asset bundle error-terraform.exe": file does not exist
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2024 10:03 PM
Hi,
I am getting below error while I am deploying databricks bundle using azure devops release
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2024 09:01 AM
Hi @alluarjun ,
Thank you for reaching out to our community! We're here to help you.
To ensure we provide you with the best support, could you please take a moment to review the response and choose the one that best answers your question? Your feedback not only helps us assist you better but also benefits other community members who may have similar questions in the future.
If you found the answer helpful, consider giving it a kudo. If the response fully addresses your question, please mark it as the accepted solution. This will help us close the thread and ensure your question is resolved.
We appreciate your participation and are here to assist you further if you need it!
Thanks,
Rishabh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2024 02:30 AM
Hi Databricks team, any update on this issue? I'm experiencing the same issue. Our development VDI is isolated so databricks cli cannot download then necessary Terraform files. We are therefore forced to download them, have them installed manually. We've followed most of the steps but are stuck at this error. Any help, advise, guide is more then welcome.
PS. Feedback: PLEASE create 2 version of the installation Online and Offline, this will save us a lot of time.
Thanks.
Regards, Fabian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2024 08:25 AM
Is this ever solved, we are also facing the same issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2024 08:42 AM - edited 11-26-2024 08:44 AM
Hi @ankitkansal , we were able to solve this by going 'offline'. This means that we setup our Development environments to search for the Terraform binary (.exe) with help of system environment variables. https://learn.microsoft.com/en-us/azure/databricks/dev-tools/bundles/airgapped-environment
Not easy as many of the instructions were made for Linux OS and we use Windows OS.
Make sure you take the latest version of Terraform binary, Databricks Terraform provider and Databricks CLI.
Azure advise is to use their Container but as we dont have AKS we had to take a different approach.
Regards,
Fabian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2024 09:58 AM
We are also running the windows runner with bash and we tried setting up environment variables and it simply does not works 😞
Did you use PowerShell to setup the variables or bash export to set-up ? Or is there any other way to set the variables.
databricks simply does not finds the terraform executable when calling bundle deploy command...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2024 12:01 AM
Using Git Bash for bash execution and to setup variables we did this by going to control panel -> system -> environment varibales

