terraform-provider-databricks icon indicating copy to clipboard operation
terraform-provider-databricks copied to clipboard

[ISSUE] Issue with `databricks_alert_v2` resource - missing API endpoint

Open danlevineap opened this issue 6 months ago • 3 comments

The AlertV2 resource uses an API endpoint "/api/2.0/alerts" that is referenced nowhere in the code on the main branch of this repo.

See https://docs.databricks.com/api/workspace/alertsv2/createalert

danlevineap avatar May 27 '25 22:05 danlevineap

Have you activated this functionality? It's Beta, so it's should be explicitly enabled

alexott avatar May 28 '25 08:05 alexott

Have you activated this functionality? It's Beta, so it's should be explicitly enabled

Yes, I've activated this functionality in my Databricks workspace, and I'm able to instantiate AlertV2 resources over the Databricks API using curl. However, I'm not able to do likewise using terraform or pulumi.

Generally speaking, are endpoints mapped within the terraform provider, or does the provider depend on some mapping in the Databricks SDK?

danlevineap avatar May 28 '25 13:05 danlevineap

duplicate of #4724

alexott avatar May 28 '25 13:05 alexott

Closing as a duplicate.

mgyucht avatar Jun 26 '25 14:06 mgyucht