Skip to content
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] Better error reporting when no host parameter is provided #1064

Open
alexott opened this issue Oct 17, 2024 · 0 comments
Open

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

alexott opened this issue Oct 17, 2024 · 0 comments

Comments

@alexott
Copy link
Contributor

alexott commented Oct 17, 2024

Problem Statement

We have multiple issues reported to the Terraform provider (i.e., databricks/terraform-provider-databricks#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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant