Skip to content

Commit

Permalink
fix: update custom job policy to work with jobs (#581)
Browse files Browse the repository at this point in the history
  • Loading branch information
jayengee authored Apr 24, 2024
1 parent c5d8ee6 commit 2539942
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions databricks-default-cluster-policies/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -444,13 +444,9 @@ module "single_node_cluster_policy" {
databricks_workspace_id = var.databricks_workspace_id
policy_name = "${var.policy_name_prefix}Single Node Job Compute"
policy_overrides = merge(local.logging_override, {
"autotermination_minutes" : {
"type" : "fixed",
"value" : 120
},
"driver_node_type_id" : {
"type" : "regex",
"pattern" : "([rcip]+[3-5]+[d]*\\.[0-1]{0,1}xlarge)",
"pattern" : "([mrcip]+[3-5]+[d]*\\.[0-1]{0,1}xlarge)",
"hidden" : false
},
"aws_attributes.availability": {
Expand Down Expand Up @@ -485,7 +481,7 @@ module "single_node_cluster_policy" {
},
"driver_node_type_id" : {
"type" : "regex",
"pattern" : "([rcip]+[3-5]+[d]*\\.[0-1]{0,1}xlarge)",
"pattern" : "([mrcip]+[3-5]+[d]*\\.[0-1]{0,1}xlarge)",
"hidden" : false
},
"enable_elastic_disk" : {
Expand Down

0 comments on commit 2539942

Please sign in to comment.