Closed sstubben closed 2 years ago
@sstubben Underlying API is in a private preview. Please contact Databricks account team (SA, CSE, AE) or support to enable it for you. error clearly said that ;-)
It looks like you did everything correct from tf side.
Hi there,
I'm trying to provision databricks on GCP, and has been given a preview document of how this should work by Databricks. The steps include setting up a databricks provisioning service account in one module, which works fine, and then adding this service account to Databricks: https://drive.google.com/file/d/1iAf0IKqR6C-QQFcmiFgOXJJm_KUcQrDJ/view?usp=sharing
Then I've created another module for actually setting up the databricks workspace. This module is given in Configuration below. For test purposes, I've defined some locals that will be moved to vars, once it works. The databricks_account_id, is as per my user and not the service account I've set up - as I am logged into the portal with my user: https://drive.google.com/file/d/1pUv0BiZYZpT_5qNkxujCJFqz6ggPjm7d/view?usp=sharing
The databricks_google_service_account is the service account created beforehand, with the following permissions:
The google_project is the project where databricks is enabled.
Configuration
Expected Behavior
I would have expected this code to provision / set up a new Databricks workspace.
Actual Behavior
The workspace is not created and I'm getting the following error:
│ Error: cannot create mws workspaces: BAD_REQUEST: workspace creation REST API is not available to use. Please contact Databricks support
Steps to Reproduce
terraform apply
Terraform and provider versions
Debug Output
Important Factoids
Are there anything atypical about your accounts that we should know? --> I don't think so 😄