-
Notifications
You must be signed in to change notification settings - Fork 398
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Add subscriptions to SQL Alert job tasks #2436
Comments
duplicate of #1983 |
Not a duplicate given what I am proposing does have an API endpoint. You claim it does not. TBH I think its just adding the subscriptions object here from the API documentation. Sorry the formatting is off:
|
Currently the terraform resource only has subscriptions and pause_subscriptions should be added per the API |
ah, sorry - misread it... |
…ks_job` It's now possible to subscribe to updates of individual dashboards & alerts in the SQL tasks of Databricks Workflows This fixes #2436
beat me to a PR. spent some time yesterday figuring this out. Was trying to test the binary locally to be sure... Anyways, thanks for solving this! |
for development you can use this approach: https://developer.hashicorp.com/terraform/cli/config/config-file#development-overrides-for-provider-developers but frankly speaking, we had some problems with docs, so it would be hard to get it correct using only the api spec. |
…ks_job` It's now possible to subscribe to updates of individual dashboards & alerts in the SQL tasks of Databricks Workflows This fixes #2436
Use-cases
Currently there is no way of adding subscriptions (destinations and users) to an alert itself. This must be done via the GUI. However API also does not appear to have this functionality for alerts. There are SQL alert tasks in a job where you can also define subscriptions. These jobs also allow you to schedule when to check the alert (feature also missing on just an alert object in the api and thus terraform). However still lacks the ability to define those subscriptions in the terraform resource. It is possible to define them if creating the job via the API.
So ultimately the use case is being able to add subscriptions to alerts beyond just the creator of them.
Attempted Solutions
No solution possible given existing features. Must use the API directly
Proposal
Enable the functionality of the Job API that adds subscriptions to the existing SQL Alert Task resource
References
The text was updated successfully, but these errors were encountered: