Review Databricks Runtime support policy

Check Databricks Runtime support dates and plan version selection and updates for long-running operations.

Description

databricks_spark_version selects a Databricks Runtime identifier. Check the release’s support end date against the planned lifetime of the workload, including for non-LTS releases.

Potential impact

Security fixes and technical support end with the support period. Shorter support periods require more frequent compatibility checks and upgrades.

Remediation

For extended support, use long_term_support = true. In Databricks provider v1.133.0 this filters for LTS and ESR releases. Test your libraries with the selected runtime and plan any restarts needed to upgrade the cluster before support ends.

Examples

Both excerpts select a GPU/ML runtime and omit the node type and other cluster settings.

Before

hcl
data "databricks_spark_version" "gpu_ml" {
  gpu = true
  ml  = true
}

resource "databricks_cluster" "example" {
  cluster_name  = "Research Cluster"
  spark_version = data.databricks_spark_version.gpu_ml.id
}

After

hcl
data "databricks_spark_version" "gpu_ml" {
  gpu               = true
  ml                = true
  long_term_support = true
}

resource "databricks_cluster" "example" {
  cluster_name  = "Research Cluster"
  spark_version = data.databricks_spark_version.gpu_ml.id
}

The first can still select a supported release. The second narrows the candidates. Verify the selected version and apply the update to the cluster.

References