-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DAB cannot be used to deploy both volume and artifact inside volume effectively #1958
Comments
Hi @Tello-Wharton, Thanks for reaching out! DABs cannot create the UC Volume being used before uploading artifacts to We always sequence the We are planning to make fundamental improvements to this by eliminating the Terraform dependency entirely from DABs, but this patch is at least 3-6 months out. I'll close this issue since it's a known limitation on our side but please feel free to reopen this if you have additional questions. |
@shreyas-goenka as a stop gap, would a viable solution be to add a flag which only deploys the volume? Or do you have a suggestion on how I can get my deployment bootstrapped that does not involve changing the actual source code of my config? |
@Tello-Wharton Could you please elaborate on what is blocking you? Why can't you:
|
@shreyas-goenka I provide the DAB expecting colleagues to use it to set up their dev environments, and use it to deploy QA environments in our CI/CD. Asking everyone to change config source code manually to get their environments bootstrapped (and having to do the same every time we create a qa environment) is quite annoying. |
Thanks, @Tello-Wharton. That's completely fair feedback. This is indeed a pain point that we should (and will) fix. A short-term fix is tricky because it's not just creating the volume but also managing all the associated states with the volume when you deploy one. I'll keep this issue open, and we'll evaluate whether there are any feasible short-term fixes. Meanwhile, there is no workaround for this today unfortunately. |
@shreyas-goenka thanks for keeping it in mind |
Describe the issue
When a DAB defines both an artifact path inside a volume, and the volume as a resource, it cannot deploy. The advice given to deploy the volume and then add in the artifact feels substandard. Surely we should be able to use DABs to cold start what they define.
Configuration
Steps to reproduce the behavior
databricks bundle deploy
Expected Behavior
The volume should be created first, and the bundle should deploy without issue
Actual Behavior
OS and CLI version
OS: Ubuntu 22:04
CLI: 0.235.1-dev+0a36681b
Is this a regression?
I do not believe so
The text was updated successfully, but these errors were encountered: