-
Notifications
You must be signed in to change notification settings - Fork 393
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
[ISSUE] Issue with databricks
provider m2m
authentication
#2042
Comments
You don't need this parameter anymore, it's automatically handled by the Go SDK: https://github.com/databricks/databricks-sdk-go/blob/main/config/auth_m2m.go#L45 |
@alexott Thank you for pointing this out, sometimes it makes sense just to try it out without :) I tried it without and in this case though all resources that are using account-level provider are failing:
As mentioned, if I am using provider |
I'm not aware about it. @nfx - do you remember what has changed there |
databricks
provider authenticationdatabricks
provider m2m
authentication
@BostjanBozic |
@nfx Thank you for feedback. I tried to remove it already and then the error that I get is one above (user is unauthenticated). Perfect, I will send you an email regarding this and we can schedule a short call. |
Thank @nfx for call today. This issue was resolved by renaming |
databricks/databricks-sdk-go#315 preparing the fix |
Just switched Databricks provider 1.9.2 to 1.10 seeing lots of auth errors in Terraform azure databricks what is going on with the " not authorized" what is triggering this in 1.9.2 there is no issue what do I need to adjust
|
I see “temporarily throttled” error message in the stack trace. Please open new issue with the details on how authentication is configured |
Configuration
Expected Behavior
That authentication works without any issues.
Actual Behavior
Authentication fails with following error:
Steps to Reproduce
terraform apply
Terraform and provider versions
Debug Output
Important Factoids
Yes, the important thing is that we have "Service Principal OAuth token on Databricks account level" private preview enabled and this is the reason why we are using
token_endpoint
parameter in provider configuration. It worked with provider versionv1.9.2
, but it no longer works withv1.10.0
.I would expect the problem is migration to Go SDK for configuration and http client (#1848). I understand this is in private preview, but I am posting this here so that once it comes out, this will most likely have to be implemented in Go SDK.
The text was updated successfully, but these errors were encountered: