Skip to main content

DAB Bundle Parameters

This page covers all parameters exposed when scaffolding a bundle with databricks labs sdp-meta bundle-init, and all keys in the generated resources/variables.yml.


Bundle Init Prompts

When you run databricks labs sdp-meta bundle-init, the template walks you through 13 prompts. Pass --quickstart to skip all prompts and accept developer defaults.

#Prompt KeyDefaultDescription
1bundle_namemy_sdp_meta_pipelineFolder name and prefix for every generated job and pipeline resource name
2uc_catalog_namemainUnity Catalog holding the SDP-META schema and target schemas
3sdp_meta_schemasdp_meta_dataflowspecsSchema that holds the bronze_dataflowspec and silver_dataflowspec tables
4bronze_target_schemasdp_meta_bronzeSchema where the bronze pipeline writes its tables
5silver_target_schemasdp_meta_silverSchema where the silver pipeline writes its tables
6layerbronze_silverLayer(s) to deploy: bronze, silver, or bronze_silver
7pipeline_modesplitOnly relevant when layer=bronze_silver. split deploys two pipelines (silver depends on bronze); combined deploys a single pipeline with both layers in one DAG
8source_formatcloudFilesSeed format for the example flow: cloudFiles, delta, kafka, eventhub, or snapshot
9onboarding_file_formatyamlFile format for generated onboarding and transformation files: yaml or json
10dataflow_groupmy_groupThe data_flow_group value used in the seeded onboarding file — must match the pipeline's *.group configuration
11wheel_sourcepypiWhere sdp-meta is installed from: pypi or volume_path
12sdp_meta_dependency__SET_ME__Concrete install specification: a PyPI coordinate (e.g. databricks-labs-sdp-meta==0.1.0) or a /Volumes/... wheel path
13authorsdp-meta-userWritten to the import_author column on dataflowspec rows
warning

The __SET_ME__ sentinel in sdp_meta_dependency is intentional. bundle-validate and the runner notebook both reject it, so deployment is blocked until you set a real value.


resources/variables.yml Keys

After scaffolding, every prompt answer is stored as a bundle variable in resources/variables.yml. You can override individual variables per target without editing other files.

KeyTypeDefaultDescription
uc_catalog_namestringmainUnity Catalog name used across all resources
sdp_meta_schemastringsdp_meta_dataflowspecsSchema holding the dataflowspec control tables
bronze_target_schemastringsdp_meta_bronzeTarget schema for bronze tables
silver_target_schemastringsdp_meta_silverTarget schema for silver tables
layerstringbronze_silverPipeline layer(s): bronze, silver, or bronze_silver
pipeline_modestringsplitPipeline topology when layer=bronze_silver: split or combined
dataflow_groupstringmy_groupGroup key that ties the onboarding file to the pipeline configuration
sdp_meta_dependencystring__SET_ME__Install spec for sdp-meta in jobs and pipeline notebooks
authorstringsdp-meta-userImport author label on dataflowspec rows
envstringdevEnvironment suffix used in {env}-parameterized onboarding fields

Choosing pipeline_mode

ModeWhen to use
split (default)Bronze and silver have different SLAs, update frequencies, or ownership. Each pipeline has independent update history. Silver pipeline depends on bronze completing first.
combinedBronze and silver are a tight unit. One pipeline, one schedule, one set of metrics. Lower overhead but you must recompute both layers together.

You can change pipeline_mode in resources/variables.yml at any time, then redeploy and re-run.


Choosing wheel_source

SourceWhen to use
pypiStandard case — installs databricks-labs-sdp-meta from PyPI at job and pipeline runtime
volume_pathAir-gapped environments or pinning a locally built wheel. Run bundle-prepare-wheel to build and upload the wheel, then set sdp_meta_dependency to the resulting /Volumes/... path

Generated Bundle Files

FilePurpose
databricks.ymlBundle definition with dev (development mode) and prod (production mode) targets
resources/variables.ymlAll configurable parameters with per-target overrides
resources/sdp_meta_onboarding_job.ymlPython wheel task that calls databricks_labs_sdp_meta:run to write or update dataflow specs
resources/sdp_meta_pipelines.ymlLakeflow Spark Declarative Pipeline(s) plus a job that runs them end-to-end
notebooks/init_sdp_meta_pipeline.pyPipeline runner notebook — pip-installs sdp-meta from ${var.sdp_meta_dependency} and calls DataflowPipeline.invoke_dlt_pipeline(spark, layer)
conf/onboarding.{yml,json}Seeded flow definition, branched by source_format at scaffold time
conf/silver_transformations.{yml,json}Per-target SELECT projections for silver layers
conf/dqe/example_table/bronze_expectations.{yml,json}Example DQE expectations for the bronze table
.gitignoreIgnores .databricks/, .venv/, __pycache__/

Quickstart Flow

# Scaffold with zero prompts
databricks labs sdp-meta bundle-init --quickstart
cd my_sdp_meta_pipeline

# Set a real sdp_meta_dependency value
sed -i 's/__SET_ME__/databricks-labs-sdp-meta==0.1.0/' resources/variables.yml

# Validate before deploying
databricks labs sdp-meta bundle-validate

# Deploy and run
databricks bundle deploy --target dev
databricks bundle run onboarding --target dev
databricks bundle run pipelines --target dev