freebox_remote_directory (Resource)

This resource creates a directory on the Freebox.

Example

resource "freebox_remote_directory" "example" {
  destination_path = "Freebox/backups/terraform"
}

Schema

Required

  • destination_path (String) Path to the directory on the Freebox

Optional

  • parents (Boolean) Whether to create parent directories
  • polling (Attributes) Polling configuration (see below for nested schema)
  • remove_all (Boolean) Whether to remove all files and directories in the directory

Nested Schema for polling

Optional:

Nested Schema for polling.delete

Optional:

  • interval (String) The interval at which to poll.
  • timeout (String) The timeout for the operation.

Nested Schema for polling.move

Optional:

  • interval (String) The interval at which to poll.
  • timeout (String) The timeout for the operation.

Import

terraform import "freebox_remote_directory.example" Freebox/backups/terraform