» ignition_directory

Describes a directory to be created in a particular filesystem.

» Example Usage

data "ignition_directory" "folder" {
    filesystem = "foo"
    path = "/folder"
}

» Argument Reference

The following arguments are supported:

  • filesystem - (Required) The internal identifier of the filesystem. This matches the last filesystem with the given identifier. This should be a valid name from a ignition_filesystem resource.

  • path - (Required) The absolute path to the directory.

  • mode - (Optional) The directory's permission mode. Note that the mode can be specified as either an octal value (e.g 0755) or a decimal value (i.e. 493 as equivalent to the octal 0755).

  • uid - (Optional) The user ID of the owner.

  • gid - (Optional) The group ID of the owner.

» Attributes Reference

The following attributes are exported:

  • rendered - The rendered template to reference this resource in ignition_config.