databricks-cli/cmd/bundle
Ilia Babanov d12f88e24d
Fix summary command when internal terraform config doesn't exist (#1242)
Check if `bundle.tf.json` doesn't exist and create it before executing
`terraform init` (inside `terraform.Load`)

Fixes a problem when during `terraform.Load` it fails with: 
```
Error: Failed to load plugin schemas

Error while loading schemas for plugin components: Failed to obtain provider
schema: Could not load the schema for provider
registry.terraform.io/databricks/databricks: failed to instantiate provider
"registry.terraform.io/databricks/databricks" to obtain schema: unavailable
provider "registry.terraform.io/databricks/databricks"..
```
2024-03-01 08:25:12 +00:00
..
deployment Use dynamic configuration model in bundles (#1098) 2024-02-16 19:41:58 +00:00
generate Generate correct YAML if custom_tags or spark_conf is used for pipeline or job cluster configuration (#1210) 2024-02-15 15:03:19 +00:00
utils Use dynamic configuration model in bundles (#1098) 2024-02-16 19:41:58 +00:00
bundle.go Added `bundle deployment bind` and `unbind` command (#1131) 2024-02-14 18:04:45 +00:00
deploy.go Only set ComputeID value when `--compute-id` flag provided (#1229) 2024-02-22 15:14:06 +00:00
destroy.go Use dynamic configuration model in bundles (#1098) 2024-02-16 19:41:58 +00:00
generate.go Added `bundle deployment bind` and `unbind` command (#1131) 2024-02-14 18:04:45 +00:00
init.go Add an experimental default-sql template (#1051) 2024-02-19 12:01:11 +00:00
init_test.go Improve experience for multiple builtin templates (#1052) 2023-12-27 12:03:08 +00:00
launch.go Remove dependency on global state for remaining commands (#613) 2023-07-27 10:03:08 +00:00
run.go Added `bundle deployment bind` and `unbind` command (#1131) 2024-02-14 18:04:45 +00:00
schema.go Move bundle schema update to an internal module (#1012) 2023-12-06 10:45:18 +00:00
summary.go Fix summary command when internal terraform config doesn't exist (#1242) 2024-03-01 08:25:12 +00:00
sync.go Added `bundle deployment bind` and `unbind` command (#1131) 2024-02-14 18:04:45 +00:00
test.go Remove dependency on global state for remaining commands (#613) 2023-07-27 10:03:08 +00:00
validate.go Use dynamic configuration model in bundles (#1098) 2024-02-16 19:41:58 +00:00
variables.go Added `bundle deployment bind` and `unbind` command (#1131) 2024-02-14 18:04:45 +00:00