Skip to content

Commit 8fb16e5

Browse files
authored
Mention bundle.engine in the doc (#4786)
1 parent 243a0e4 commit 8fb16e5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/direct.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,12 @@ rm .databricks/bundle/my_target/resources.json
5353

5454
### Using on new bundles
5555

56-
For bundles that were never deployed, the migrate command will not work. Instead, deploy with an environment variable set: `DATABRICKS_BUNDLE_ENGINE=direct databricks bundle deploy -t my_target`.
56+
For bundles that were never deployed, the migrate command will not work. To start using direct engine, you have two options:
57+
58+
- Set bundle.engine OR targets.\*.engine to "direct" in your databricks.yml
59+
- Set DATABRICKS_BUNDLE_ENGINE=direct env var before the deployment.
60+
61+
If both are provided, the config takes precedence over the env var.
5762

5863
## Differences from terraform
5964

0 commit comments

Comments
 (0)