databricks-sdk-go icon indicating copy to clipboard operation
databricks-sdk-go copied to clipboard

[FEATURE] Better error reporting when no `host` parameter is provided

Open alexott opened this issue 1 year ago • 0 comments

Problem Statement

We have multiple issues reported to the Terraform provider (i.e., https://github.com/databricks/terraform-provider-databricks/issues/4113 just as one example) where default auth: cannot configure default credentials error is reported because host isn't set (eager resource creation by Terraform, or resource recreation, etc.). But it's very hard to understand what is wrong for unexperienced people.

Proposed Solution

When reporting such an error, check that host is specified in either form, and if it's missing, then provide a helpful message saying that the host is required and point to a troubleshooting guide or something like that.

alexott avatar Oct 17 '24 10:10 alexott