databricks-cli/bundle/deploy/terraform
Lennart Kats (databricks) 875c9d2db1
Tune output of bundle deploy command (#1047)
## Changes

Update the output of the `deploy` command to be more concise and
consistent:
```
$ databricks bundle deploy
Building my_project...
Uploading my_project-0.0.1+20231207.205106-py3-none-any.whl...
Uploading bundle files to /Users/lennart.kats@databricks.com/.bundle/my_project/dev/files...
Deploying resources...
Updating deployment state...
Deployment complete!
```

This does away with the intermediate success messages, makes consistent
use of `...`, and only prints the success message at the very end after
everything is completed.

Below is the original output for comparison:

```
$ databricks bundle deploy
Detecting Python wheel project...
Found Python wheel project at /tmp/output/my_project
Building my_project...
Build succeeded
Uploading my_project-0.0.1+20231207.205134-py3-none-any.whl...
Upload succeeded
Starting upload of bundle files
Uploaded bundle files at /Users/lennart.kats@databricks.com/.bundle/my_project/dev/files!

Starting resource deployment
Resource deployment completed!
```
2023-12-21 08:00:37 +00:00
..
apply.go Tune output of bundle deploy command (#1047) 2023-12-21 08:00:37 +00:00
convert.go Fix passthrough of pipeline notifications (#1058) 2023-12-12 11:36:06 +00:00
convert_test.go Fix passthrough of pipeline notifications (#1058) 2023-12-12 11:36:06 +00:00
destroy.go Use custom prompter for bundle template inputs (#663) 2023-08-15 14:50:20 +00:00
dir.go Consolidate environment variable interaction (#747) 2023-09-11 08:18:43 +00:00
filer.go Correctly overwrite local state if remote state is newer (#1008) 2023-11-24 11:15:46 +00:00
init.go Pass `USERPROFILE` environment variable to Terraform (#1001) 2023-11-22 09:16:28 +00:00
init_test.go Pass `USERPROFILE` environment variable to Terraform (#1001) 2023-11-22 09:16:28 +00:00
interpolate.go Support Unity Catalog Registered Models in bundles (#846) 2023-10-16 15:32:49 +00:00
load.go Fix metadata computation for empty bundle (#939) 2023-11-02 11:00:30 +00:00
load_test.go Fix metadata computation for empty bundle (#939) 2023-11-02 11:00:30 +00:00
pkg.go Add mutators to pull and push Terraform state (#288) 2023-03-30 12:01:09 +02:00
plan.go Consolidate environment variable interaction (#747) 2023-09-11 08:18:43 +00:00
state_pull.go Correctly overwrite local state if remote state is newer (#1008) 2023-11-24 11:15:46 +00:00
state_pull_test.go Correctly overwrite local state if remote state is newer (#1008) 2023-11-24 11:15:46 +00:00
state_push.go Tune output of bundle deploy command (#1047) 2023-12-21 08:00:37 +00:00
state_push_test.go Correctly overwrite local state if remote state is newer (#1008) 2023-11-24 11:15:46 +00:00
state_test.go Correctly overwrite local state if remote state is newer (#1008) 2023-11-24 11:15:46 +00:00
util.go Do not truncate local state file when pulling remote changes (#382) 2023-05-16 17:02:33 +02:00
util_test.go Correctly overwrite local state if remote state is newer (#1008) 2023-11-24 11:15:46 +00:00
write.go Make bundle deploy work if no resources are defined (#767) 2023-09-13 22:50:37 +00:00