Skip to content

Commit

Permalink
Create sanitech_data_quality.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH committed Apr 19, 2024
1 parent cf026d8 commit 200bc0d
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions func/sanitech_data_quality.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
resource "databricks_notebook" "example" {
path = "/example/data-quality"
format = "SOURCE"

library {
jar = "com.databricks:spark-xml_2.12:0.13.0"
}

library {
maven = {
coordinates = "com.databricks:databricks-sql-connector_2.12:2.6.0"
}
}
}

resource "databricks_job" "example" {
name = "example-data-quality-job"

new_cluster {
node_type_id = "m5.xlarge"
autotermination_minutes = 30
}

task {
notebook_task {
notebook_path = databricks_notebook.example.path
}
}
}

0 comments on commit 200bc0d

Please sign in to comment.