Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2026 08:10 PM
Intresting . I havent seen this go style templating with DABS . Typically you would define your variables in databricks.yml and then override the variable per environment .
# databricks.yml
variables:
job_pause_status:
description: Pause/unpause job schedule by environment
default: PAUSED # sensible default
resources:
jobs:
job_name:
name: job_name
schedule:
quartz_cron_expression: "0 0 8 * * ?"
timezone_id: "UTC"
pause_status: ${var.job_pause_status}Override per target
targets:
dev:
mode: development
default: true
variables:
job_pause_status: PAUSED
qa:
mode: development
variables:
job_pause_status: PAUSED
prd:
mode: production
variables:
job_pause_status: UNPAUSED
Thank You
Pradeep Singh - https://www.linkedin.com/in/dbxdev
Pradeep Singh - https://www.linkedin.com/in/dbxdev