Skip to content

Commit cd96cd7

Browse files
committed
addressed feedback
1 parent e64f9ec commit cd96cd7

File tree

16 files changed

+168
-227
lines changed

16 files changed

+168
-227
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
print("Hello world!")
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
bundle:
2+
name: lifecycle-started-$UNIQUE_NAME
3+
4+
resources:
5+
apps:
6+
myapp:
7+
name: $UNIQUE_NAME
8+
description: my_app_description
9+
source_code_path: ./app
10+
lifecycle:
11+
started: true
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
=== bundle plan fails with lifecycle.started on terraform engine
3+
>>> errcode [CLI] bundle plan
4+
Error: lifecycle.started is only supported in direct deployment mode
5+
in databricks.yml:11:18
6+
7+
8+
Exit code: 1
9+
10+
=== bundle deploy fails with lifecycle.started on terraform engine
11+
>>> errcode [CLI] bundle deploy
12+
Error: lifecycle.started is only supported in direct deployment mode
13+
in databricks.yml:11:18
14+
15+
16+
Exit code: 1
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
envsubst < databricks.yml.tmpl > databricks.yml
2+
3+
title "bundle plan fails with lifecycle.started on terraform engine"
4+
trace errcode $CLI bundle plan
5+
6+
title "bundle deploy fails with lifecycle.started on terraform engine"
7+
trace errcode $CLI bundle deploy
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Local = true
2+
Cloud = true
3+
4+
[EnvMatrix]
5+
DATABRICKS_BUNDLE_ENGINE = ["terraform"]

acceptance/bundle/resources/apps/lifecycle-started/out.deploy.direct.txt

Lines changed: 0 additions & 75 deletions
This file was deleted.

acceptance/bundle/resources/apps/lifecycle-started/out.deploy.terraform.txt

Lines changed: 0 additions & 56 deletions
This file was deleted.

acceptance/bundle/resources/apps/lifecycle-started/out.destroy.direct.txt

Lines changed: 0 additions & 9 deletions
This file was deleted.

acceptance/bundle/resources/apps/lifecycle-started/out.destroy.terraform.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

acceptance/bundle/resources/apps/lifecycle-started/out.test.toml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)