-
Notifications
You must be signed in to change notification settings - Fork 228
Expand file tree
/
Copy pathoutput.txt
More file actions
48 lines (37 loc) · 2.07 KB
/
Copy pathoutput.txt
File metadata and controls
48 lines (37 loc) · 2.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
>>> [CLI] bundle generate --help
Generate bundle configuration from existing Databricks resources.
Common patterns:
databricks bundle generate job --existing-job-id 123 --key my_job
databricks bundle generate pipeline --existing-pipeline-id abc123 --key etl_pipeline
databricks bundle generate dashboard --existing-path /my-dashboard --key sales_dash
databricks bundle generate dashboard --resource my_dashboard --watch --force # Keep local copy in sync. Useful for development.
databricks bundle generate dashboard --resource my_dashboard --force # Do a one-time sync.
Migration workflows:
Two-step workflow (manual bind):
1. Generate: databricks bundle generate job --existing-job-id 123 --key my_job
2. Bind: databricks bundle deployment bind my_job 123
3. Deploy: databricks bundle deploy
One-step workflow (automatic bind):
1. Generate and bind: databricks bundle generate job --existing-job-id 123 --key my_job --bind
2. Deploy: databricks bundle deploy
Use --key to specify the resource name in your bundle configuration.
Use --bind to automatically bind the generated resource to the existing workspace resource.
Usage:
databricks bundle generate [command]
Available Commands:
alert Generate configuration for an alert
app Generate bundle configuration for a Databricks app
dashboard Generate configuration for a dashboard
genie-space Generate configuration for a Genie space
job Generate bundle configuration for a job
pipeline Generate bundle configuration for a pipeline
Flags:
-h, --help help for generate
--key string resource key to use for the generated configuration
Global Flags:
--debug enable debug logging
-o, --output type output type: text or json (default text)
-p, --profile string ~/.databrickscfg profile
-t, --target string bundle target to use (if applicable)
--var strings set values for variables defined in bundle config. Example: --var="foo=bar"
Use "databricks bundle generate [command] --help" for more information about a command.