From 0f8ae6e6f1658311e4e4912c581fbc903e201ae5 Mon Sep 17 00:00:00 2001 From: Peter Bull Hove Date: Wed, 2 Oct 2024 12:29:43 +0200 Subject: [PATCH] fix(databricks): spark latest version --- terraform/databricks.tf | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/terraform/databricks.tf b/terraform/databricks.tf index 59d615c..bc8340c 100644 --- a/terraform/databricks.tf +++ b/terraform/databricks.tf @@ -7,17 +7,19 @@ resource "azurerm_databricks_workspace" "this" { sku = "standard" } - +data "databricks_spark_version" "this" { + latest = true +} resource "databricks_cluster" "this" { cluster_name = "standard" - spark_version = "7.3.x-scala2.12" + spark_version = data.databricks_spark_version.this.id node_type_id = "Standard_DS3_v2" autotermination_minutes = 30 num_workers = 2 } resource "databricks_secret_scope" "data_platform" { - name = "terraform-demo-scope" + name = "terraform-created-scope" initial_manage_principal = "users" keyvault_metadata {