Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
On Google Cloud Platform (GCP), the account-level Databricks Terraform Provider or account API does not use standard Databricks tokens or standard Databricks OAuth. Instead, it relies on Google Cloud ID (OIDC) tokens generated via a Google Cloud service account.
provider "databricks" {
alias = "accounts"
host = "https://accounts.gcp.databricks.com"
account_id = var.databricks_account_id
google_service_account = var.databricks_google_service_account
}resource "databricks_mws_vpc_endpoint" "backend_rest_vpce" {
provider = databricks.accounts
account_id = var.databricks_account_id
vpc_endpoint_name = "vpce-backend-rest-ven"
gcp_vpc_endpoint_info {
project_id = var.network_project_id
psc_endpoint_name = var.backend_rest_psce
endpoint_region = google_compute_subnetwork.network-with-private-secondary-ip-ranges.region
}
}