Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2025 01:45 PM
Howdy,
I've got a job 'job1' and my dev/stg/prod target in my databricks.yaml
Currently, I have this configurationfor my job:
email_notifications:
on_success:
- me@myorg.com
on_failure:
- me@myorg.com
webhook_notifications:
on_failure:
- id: ${var.webhook_uuid}
I'd like to ultimately like the following conditions:
- dev: nothing, this is paused (solved this problem already)
- stg: email only on failure
- prod: email on success and failure, webhook on failure.
I've tried just setting the variable to be empty and this is a violation in the databricks validate task.
I've tried setting the webhook uuid to some junk and that also fails.
Any advice would be lovely!