Skip to content

Commit

Permalink
[Doc] Add troubleshooting instructions for `databricks OAuth is not s…
Browse files Browse the repository at this point in the history
…upported for this host` error
  • Loading branch information
alexott committed Jul 24, 2024
1 parent 165d129 commit 821717a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/guides/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,3 +203,11 @@ provider "databricks" {
```
The above would enforce the use of PAT authorization.
### oauth-m2m: oidc: databricks OAuth is not supported for this host.
There could be different reasons for this error:
- Old version of Terraform provider is used - there were [problems reported](https://github.com/databricks/terraform-provider-databricks/issues/3023) with versions lower than 1.35.0, so try to upgrade your provider.
- You use multiple provider instances in your code and don't specify that specific instance in your resource or data source - in this case, Terraform will try to use "default instance" that could be initialized from the `DEFAULT` profile in your `~/.databrickscfg` file if you have it. Check that correct provider instance is used everywhere.

0 comments on commit 821717a

Please sign in to comment.