databricks-cli/bundle/deploy
Lennart Kats (databricks) 9a1f078bd9
Improve error when bundle root is not writable (#1093)
## Changes

This improves the error when deploying to a bundle root that the current
user doesn't have write access to. This can come up slightly more often
since the change of https://github.com/databricks/cli/pull/1091.

Before this change:

```
$ databricks bundle deploy --target prod
Building my_project...
Error: no such directory: /Users/lennart.kats@databricks.com/.bundle/my_project/prod/state
```

After this change:

```
$ databricks bundle deploy --target prod
Building my_project...
Error: cannot write to deployment root (this can indicate a previous deploy was done with a different identity): /Users/lennart.kats@databricks.com/.bundle/my_project/prod
```

Note that this change uses the "no such directory" error returned from
the filer.
2023-12-28 13:15:21 +00:00
..
files Tune output of bundle deploy command (#1047) 2023-12-21 08:00:37 +00:00
lock Improve error when bundle root is not writable (#1093) 2023-12-28 13:15:21 +00:00
metadata Set metadata fields required to enable break-glass UI for jobs (#880) 2023-12-19 07:38:52 +00:00
terraform Tune output of bundle deploy command (#1047) 2023-12-21 08:00:37 +00:00