Skip to content

Commit 2629df3

Browse files
committed
adding support for data_security_mode
1 parent 72d25c1 commit 2629df3

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

cluster.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ resource "databricks_cluster" "cluster" {
3131
instance_pool_id = var.deploy_worker_instance_pool == true ? join("", databricks_instance_pool.worker_instance_nodes.*.id) : null
3232
driver_node_type_id = var.deploy_worker_instance_pool != true ? local.driver_node_type : null
3333
num_workers = var.fixed_value != null ? var.fixed_value : null
34-
34+
data_security_mode = var.data_security_mode
3535
dynamic "autoscale" {
3636
for_each = var.fixed_value == null && var.auto_scaling != null ? [var.auto_scaling] : []
3737
content {

variables.tf

+6
Original file line numberDiff line numberDiff line change
@@ -364,3 +364,9 @@ variable "libraries" {
364364
description = "Installs a library on databricks_cluster"
365365
default = {}
366366
}
367+
368+
variable "data_security_mode" {
369+
description = "Access mode"
370+
type = string
371+
default = "NONE"
372+
}

0 commit comments

Comments
 (0)