You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added notification_settings block to databricks_job resource (#2276)
The new configuration block allows to control handling of notifications for skipped &
canceled runs for both email & webhook notifications.
This fixes#2270
Copy file name to clipboardExpand all lines: docs/resources/job.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -141,7 +141,7 @@ This block is used to specify Git repository information & branch/tag/commit tha
141
141
*`on_start` - (Optional) (List) list of emails to notify when the run starts.
142
142
*`on_success` - (Optional) (List) list of emails to notify when the run completes successfully.
143
143
*`on_failure` - (Optional) (List) list of emails to notify when the run fails.
144
-
*`no_alert_for_skipped_runs` - (Optional) (Bool) don't send alert for skipped runs.
144
+
*`no_alert_for_skipped_runs` - (Optional) (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the `notification_settings` configuration block).
145
145
146
146
### webhook_notifications Configuration Block
147
147
@@ -169,6 +169,13 @@ webhook_notifications {
169
169
170
170
-> **Note** The following configuration blocks can be standalone or nested inside a `task` block
171
171
172
+
### notification_settings Configuration Block
173
+
174
+
This block controls notification settings for both email & webhook notifications:
175
+
176
+
*`no_alert_for_skipped_runs` - (Optional) (Bool) don't send alert for skipped runs.
177
+
*`no_alert_for_canceled_runs` - (Optional) (Bool) don't send alert for cancelled runs.
178
+
172
179
### spark_jar_task Configuration Block
173
180
174
181
*`parameters` - (Optional) (List) Parameters passed to the main method.
0 commit comments