Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ resources:
sql_warehouses:
mywarehouse:
name: my-warehouse-$UNIQUE_NAME
cluster_size: "Medium"
cluster_size: "2X-Small"
auto_stop_mins: 10
lifecycle:
started: true
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,18 @@
=== bundle plan fails with lifecycle.started on terraform engine
>>> errcode [CLI] bundle plan
Error: lifecycle.started is only supported in direct deployment mode
in databricks.yml:13:18
in databricks.yml:14:18


Exit code: 1

=== bundle deploy fails with lifecycle.started on terraform engine
>>> errcode [CLI] bundle deploy
Error: lifecycle.started is only supported in direct deployment mode
in databricks.yml:13:18
in databricks.yml:14:18


Exit code: 1

>>> [CLI] bundle destroy --auto-approve
No active deployment found to destroy!
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
envsubst < databricks.yml.tmpl > databricks.yml

cleanup() {
trace $CLI bundle destroy --auto-approve
}
trap cleanup EXIT

title "bundle plan fails with lifecycle.started on terraform engine"
trace errcode $CLI bundle plan

Expand Down
Loading