Skip to content

directory

A directory, created with its parents.

step "example" {
directory {
path = "..."
}
}
Name Type Required Description
group string No Owning group. Left as is when unset.
mode string No Octal permissions. Defaults to “0755”.
on_remove string No “forget” (default) leaves the directory, “delete” removes it when it is empty.
owner string No Owning user. Left as is when unset.
path string Yes Absolute path.

A step lowers to the conn3x_directory resource, one instance per host, and connects with its circuit’s ssh block.