Skip to content

DbfsFile

laktory.models.resources.databricks.DbfsFile ¤

Bases: BaseModel, PulumiResource, TerraformResource

Databricks DBFS File

ATTRIBUTE DESCRIPTION
access_controls

List of file access controls

TYPE: list[AccessControl]

dirpath

Workspace directory containing the file. Filename will be assumed to be the same as local filepath. Used if path is not specified.

TYPE: str

lookup_existing

Specifications for looking up existing resource. Other attributes will be ignored.

TYPE: DbfsFileLookup

path

DBFS filepath for the file

TYPE: str

source

Path to file on local filesystem.

TYPE: str

Attributes¤

filename property ¤

filename

File filename

resource_key property ¤

resource_key

path with special characters /, ., \ replaced with -

--

laktory.models.resources.databricks.dbfsfile.DbfsFileLookup ¤

Bases: ResourceLookup

ATTRIBUTE DESCRIPTION
path

Path on DBFS for the file from which to get content.

TYPE: str

limit_file_size

Do not load content for files larger than 4MB.

TYPE: bool