Skip to content

Commit

Permalink
fix: Split out job compute policy between single and multi node
Browse files Browse the repository at this point in the history
  • Loading branch information
jayengee committed Nov 3, 2023
1 parent 04da725 commit 3ffb3f4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions databricks-default-cluster-policies/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,19 @@ module "job_compute_cluster_policy" {
policy_name = "${var.policy_name_prefix}Job Compute"
policy_family_id = local.default_policy_family_ids["job_compute"]

policy_overrides = local.logging_override

grantees = [local.power_user_group_name]
}

module "job_compute_cluster_policy" {
source = "../databricks-cluster-policy"

databricks_host = var.databricks_host
databricks_workspace_id = var.databricks_workspace_id
policy_name = "${var.policy_name_prefix}Small Job Compute"
policy_family_id = local.default_policy_family_ids["job_compute"]

policy_overrides = merge(local.logging_override, {
"spark_conf.spark.databricks.cluster.profile" : {
"type" : "unlimited",
Expand Down

0 comments on commit 3ffb3f4

Please sign in to comment.