subcategory |
---|
Storage |
This data source allows to get list of file names from 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 files
This data source exports the following attributes:
path_list
- returns list of objects withpath
andfile_size
attributes in each