Skip to content

Commit

Permalink
fix(databricks): spark latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
pbullhove committed Oct 2, 2024
1 parent 02c672f commit 0f8ae6e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions terraform/databricks.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 0f8ae6e

Please sign in to comment.