From 2f385bdc177c8a4c8d35013cab3cd6779a39e223 Mon Sep 17 00:00:00 2001 From: Jason Ng Date: Thu, 2 May 2024 12:06:16 -0700 Subject: [PATCH] fix: Add more tags for single node --- databricks-default-cluster-policies/main.tf | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/databricks-default-cluster-policies/main.tf b/databricks-default-cluster-policies/main.tf index a49305ce..10cb3172 100644 --- a/databricks-default-cluster-policies/main.tf +++ b/databricks-default-cluster-policies/main.tf @@ -462,16 +462,15 @@ module "single_node_cluster_policy" { "defaultValue": "STANDARD", "hidden": false }, - "autoscale.max_workers" : { - "type" : "fixed", - "value" : 0, - "hidden" : true - }, - "autoscale.min_workers" : { - "type" : "fixed", - "value" : 0, - "hidden" : true - }, + "spark_conf.spark.databricks.cluster.profile":{ + "type":"fixed", + "value":"singleNode", + "hidden":true + }, + "num_workers":{ + "type":"range", + "maxValue":0 + } "data_security_mode" : { "type" : "whitelist", "values" : [