terraform-provider-databricks
terraform-provider-databricks copied to clipboard
[ISSUE] Removing webhook_notifications block in databricks_job errors out
When we remove webhook_notifications
block from an existing databricks job, we see Error: cannot update job: Webhook with id '' was not found.
Expected Behavior
The webhook should get removed without throwing an error
Versions
Terraform version: 1.3.5 Databricks TF provider version: 1.9.2
Can you add a debug log as described in the troubleshooting guide
We use terraform cloud to run our TF plan/apply. The raw plan/apply logs don't provide much info. Attaching the relevant screenshots. Hope that helps.
Hello,
I also have this error. Is there any news on this?
Francisco Vieira
Hi, @fdvieira -- please add the debug logs for the error you encounter. Thanks!
Hello @iandexter,
It's the exact issue described in this issue: https://github.com/databricks/terraform-provider-databricks/issues/2123.
Still need my debug logs?
Francisco
I can reproduce this via the UI with the following steps:
- create a notification destination (in my case a slack webhook)
- create a new job
- add the notification to at the task level (notification on Failure)
- delete the notification destination
- attempt to add a notification at the job level and you will receive a message similar to the attached image.
I've come across two ways to solve this (there may be more);
- delete the job and recreate it (not a big deal if you have it terraformed)
- add an existing notification back to the task itself
Due to this issue I cannot remove webhook notifications settings from tasks or job through asset bundle...
Repro in #3309. Discussed the issue with @mgyucht.