This data source allows to get list of file names from get file content from Databricks File System (DBFS).
data "databricks_dbfs_file_paths" "partitions" {
path = "dbfs:/user/hive/default.db/table"
recursive = false
}
path
- (Required) Path on DBFS for the file to perform listingrecursive
- (Required) Either or not recursively list all filesThis data source exports the following attributes:
path_list
- returns list of objects with path
and file_size
attributes in eachThe following resources are used in the same context:
dbfs:/mnt/name
.