Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 627 Bytes

File metadata and controls

26 lines (18 loc) · 627 Bytes

databricks_notebook Data Source

This data source allows to export a notebook from workspace

Example Usage

data "databricks_notebook" "features" {
    path = "/Production/Features"
    format = "SOURCE"
}

Argument Reference

  • path - (Required) Notebook path on the workspace
  • format - (Required) One of DBC, SOURCE or HTML to define format of exported content

Attribute Reference

This data source exports the following attributes:

  • content - notebook content in selected format
  • language - notebook language
  • object_id - notebook object ID
  • object_type - notebook object type