| subcategory | Workspace |
|---|
This data source allows to export a notebook from Databricks Workspace.
-> This data source can only be used with a workspace-level provider!
data "databricks_notebook" "features" {
path = "/Production/Features"
format = "SOURCE"
}path- (Required) Notebook path on the workspaceformat- (Required) Notebook format to export. EitherSOURCE,HTML,JUPYTER, orDBC.provider_config- (Optional) Configure the provider for management through account provider. This block consists of the following fields:workspace_id- (Required) Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
This data source exports the following attributes:
content- notebook content in selected formatlanguage- notebook languageobject_id- notebook object IDobject_type- notebook object typeworkspace_path- path on Workspace File System (WSFS) in form of/Workspace+path