Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1.03 KB

notebook_paths.md

File metadata and controls

28 lines (19 loc) · 1.03 KB
subcategory
Workspace

databricks_notebook_paths 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.

This data source allows to list notebooks in the Databricks Workspace.

Example Usage

data "databricks_notebook_paths" "prod" {
  path      = "/Production"
  recursive = true
}

Argument Reference

  • path - (Required) Path to workspace directory
  • recursive - (Required) Either or recursively walk given path

Attribute Reference

This data source exports the following attributes:

  • notebook_path_list - list of objects with path and language attributes