Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions acceptance/bundle/summary/engine-terraform/databricks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
bundle:
name: test-bundle

targets:
default:
default: true
terraform-target:
bundle:
engine: terraform
2 changes: 2 additions & 0 deletions acceptance/bundle/summary/engine-terraform/out.test.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Cloud = false
EnvMatrix.DMS = ["", "true"]
60 changes: 60 additions & 0 deletions acceptance/bundle/summary/engine-terraform/output.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@

=== bundle.engine: terraform
>>> musterr [CLI] bundle summary -t terraform-target
Error: the Terraform deployment engine has been removed in Databricks CLI v1.20.0
in databricks.yml:9:15

Remove the "bundle.engine" setting (or set it to "direct") to deploy with the direct engine; existing Terraform state is migrated automatically. To keep using Terraform, revert to Databricks CLI v1.19.x.
See https://docs.databricks.com/dev-tools/bundles/direct for details


>>> musterr [CLI] bundle summary -t terraform-target -o json
Error: the Terraform deployment engine has been removed in Databricks CLI v1.20.0
in databricks.yml:9:15

Remove the "bundle.engine" setting (or set it to "direct") to deploy with the direct engine; existing Terraform state is migrated automatically. To keep using Terraform, revert to Databricks CLI v1.19.x.
See https://docs.databricks.com/dev-tools/bundles/direct for details


>>> musterr [CLI] bundle validate -t terraform-target -o json
Error: the Terraform deployment engine has been removed in Databricks CLI v1.20.0
in databricks.yml:9:15

Remove the "bundle.engine" setting (or set it to "direct") to deploy with the direct engine; existing Terraform state is migrated automatically. To keep using Terraform, revert to Databricks CLI v1.19.x.
See https://docs.databricks.com/dev-tools/bundles/direct for details

{
"bundle": {
"engine": "terraform",
"environment": "terraform-target",
"name": "test-bundle",
"target": "terraform-target"
}
}

=== DATABRICKS_BUNDLE_ENGINE=terraform
>>> musterr [CLI] bundle summary
Error: the Terraform deployment engine has been removed in Databricks CLI v1.20.0

Unset the DATABRICKS_BUNDLE_ENGINE environment variable (or set it to "direct") to deploy with the direct engine; existing Terraform state is migrated automatically. To keep using Terraform, revert to Databricks CLI v1.19.x.
See https://docs.databricks.com/dev-tools/bundles/direct for details

>>> musterr [CLI] bundle summary -o json
Error: the Terraform deployment engine has been removed in Databricks CLI v1.20.0

Unset the DATABRICKS_BUNDLE_ENGINE environment variable (or set it to "direct") to deploy with the direct engine; existing Terraform state is migrated automatically. To keep using Terraform, revert to Databricks CLI v1.19.x.
See https://docs.databricks.com/dev-tools/bundles/direct for details

>>> musterr [CLI] bundle validate -o json
Error: the Terraform deployment engine has been removed in Databricks CLI v1.20.0

Unset the DATABRICKS_BUNDLE_ENGINE environment variable (or set it to "direct") to deploy with the direct engine; existing Terraform state is migrated automatically. To keep using Terraform, revert to Databricks CLI v1.19.x.
See https://docs.databricks.com/dev-tools/bundles/direct for details

{
"bundle": {
"environment": "default",
"name": "test-bundle",
"target": "default"
}
}
9 changes: 9 additions & 0 deletions acceptance/bundle/summary/engine-terraform/script
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
title "bundle.engine: terraform"
trace musterr $CLI bundle summary -t terraform-target
trace musterr $CLI bundle summary -t terraform-target -o json
trace musterr $CLI bundle validate -t terraform-target -o json

title "DATABRICKS_BUNDLE_ENGINE=terraform"
DATABRICKS_BUNDLE_ENGINE=terraform trace musterr $CLI bundle summary
DATABRICKS_BUNDLE_ENGINE=terraform trace musterr $CLI bundle summary -o json
DATABRICKS_BUNDLE_ENGINE=terraform trace musterr $CLI bundle validate -o json
Loading