This data source allows to export a notebook from Databricks Workspace.
data "databricks_notebook" "features" {
path = "/Production/Features"
format = "SOURCE"
}
path
- (Required) Notebook path on the workspaceformat
- (Required) Notebook format to export. Either SOURCE
, HTML
, JUPYTER
, or DBC
.This data source exports the following attributes:
content
- notebook content in selected formatlanguage
- notebook languageobject_id
- notebook object IDobject_type
- notebook object type