# databricks-asset-bundles > Standard patterns for Databricks Asset Bundles configuration files for serverless jobs, DLT pipelines, dashboards, alerts, apps, and workflows. Use when creating, configuring, or deploying DABs for infrastructure-as-code deployments. Covers mandatory serverless environment configuration, hierarchical job architecture (atomic/composite/orchestrator), DLT pipeline patterns, dashboard resources with dataset_catalog/dataset_schema, SQL Alerts v2 API schema, Apps lifecycle, Python notebook parameter passing (dbutils.widgets.get vs argparse), deployment error prevention, and pre-deployment validation. - Author: prashanth-subrahmanyam_data - Repository: prashsub/vibe_coding_lakehouse_starter_repo - Version: 20260206155610 - Stars: 1 - Forks: 0 - Last Updated: 2026-02-06 - Source: https://github.com/prashsub/vibe_coding_lakehouse_starter_repo - Web: https://mule.run/skillshub/@@prashsub/vibe_coding_lakehouse_starter_repo~databricks-asset-bundles:20260206155610 --- --- name: databricks-asset-bundles description: Standard patterns for Databricks Asset Bundles configuration files for serverless jobs, DLT pipelines, dashboards, alerts, apps, and workflows. Use when creating, configuring, or deploying DABs for infrastructure-as-code deployments. Covers mandatory serverless environment configuration, hierarchical job architecture (atomic/composite/orchestrator), DLT pipeline patterns, dashboard resources with dataset_catalog/dataset_schema, SQL Alerts v2 API schema, Apps lifecycle, Python notebook parameter passing (dbutils.widgets.get vs argparse), deployment error prevention, and pre-deployment validation. metadata: author: databricks-sa version: "2.0" domain: infrastructure --- # Databricks Asset Bundles (DABs) ## Overview Databricks Asset Bundles provide infrastructure-as-code for deploying Databricks workflows, jobs, and DLT pipelines. This skill standardizes configuration patterns for serverless-first, production-ready deployments with hierarchical job architecture, proper parameter passing, and comprehensive error prevention. ## When to Use This Skill - Creating or configuring Databricks Asset Bundle YAML files - Deploying serverless jobs, DLT pipelines, dashboards, alerts, apps, or workflows - Setting up hierarchical job architectures (atomic/composite/orchestrator) - Configuring dashboard resources with `dataset_catalog`/`dataset_schema` (CLI 0.281.0+) - Setting up SQL Alerts v2 (schema differs significantly from other resources) - Configuring Databricks Apps in DABs (env vars in `app.yaml`, not `databricks.yml`) - Troubleshooting deployment errors or configuration issues - Converting notebooks to use proper parameter passing patterns - Validating bundle configurations before deployment ## Critical Rules (Quick Reference) ### 🔴 MANDATORY: Serverless Environment Configuration **EVERY JOB MUST INCLUDE THIS:** ```yaml resources: jobs: : name: "[${bundle.target}] " # ✅ MANDATORY: Define serverless environment at job level environments: - environment_key: "default" spec: environment_version: "4" tasks: - task_key: environment_key: default # ✅ MANDATORY: Reference environment in EVERY task notebook_task: notebook_path: ../src/