Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 2.14 KB

File metadata and controls

55 lines (36 loc) · 2.14 KB
subcategory
Workspace

databricks_directory Resource

This resource allows you to manage directories in Databricks Workpace.

Example Usage

You can declare a Terraform-managed directory by specifying the path attribute of the corresponding directory.

resource "databricks_directory" "my_custom_directory" {
  path = "/my_custom_directory"
}

Argument Reference

The following arguments are supported:

  • path - (Required) The absolute path of the directory, beginning with "/", e.g. "/Demo".
  • delete_recursive - Whether or not to trigger a recursive delete of this directory and its resources when deleting this on Terraform. Defaults to false

Attribute Reference

In addition to all arguments above, the following attributes are exported:

  • id - Path of directory on workspace
  • object_id - Unique identifier for a DIRECTORY

Access Control

Import

The resource directory can be imported using directory path:

$ terraform import databricks_directory.this /path/to/directory

Related Resources

The following resources are often used in the same context: