Skip to content

Latest commit

 

History

History
executable file
·
38 lines (26 loc) · 1.69 KB

File metadata and controls

executable file
·
38 lines (26 loc) · 1.69 KB
subcategory
Compute

databricks_job Data Source

-> Note If you have a fully automated setup with workspaces created by databricks_mws_workspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent default auth: cannot configure default credentials errors.

Retrieves the settings of databricks_job by name or by id. Complements the feature of the databricks_jobs data source.

Example Usage

Getting the existing cluster id of specific databricks_job by name or by id:

data "databricks_job" "this" {
  job_name = "My job"
}

output "job_num_workers" {
  value     = data.databricks_job.this.job_settings[0].settings[0].new_cluster[0].num_workers
  sensitive = false
}

Attribute Reference

This data source exports the following attributes:

Related Resources

The following resources are used in the same context: