I’m setting up Databricks on Azure through Terraform. Setting up the resource group and Databricks workspace is working. Now I’m trying to add databricks_cluster and something strange happens:
In the same Azure subscription, I already have a Databricks workspace with different clusters in it. Those were created manually / through az scripts so they have nothing to do with Terraform.
Now that I’ve added a resource “databricks_cluster”, the cluster gets created, but in the wrong Databricks workspace!
I couldn’t find a way to specify in which workspace a cluster should be created. I’ve tried
depends_on but that doesn’t change anything.
Am I doing something wrong?