Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2025 09:40 PM
The official Databricks provider in Terraform only allows you to create SQL queries, not execute them. To actually run queries, you can either:
Use the http provider to make API calls to the Databricks REST API to execute SQL queries.
Alternatively, if you're using a Service Principal with a Client Secret, you can configure another http provider to obtain an access token via OIDC, which can then be used in place of a PAT token for authentication.