mount
A file system in /etc/fstab, mounted now.
step "example" { mount { fstype = "..." path = "..." src = "..." }}Arguments
Section titled “Arguments”| Name | Type | Required | Description |
|---|---|---|---|
fstype |
string | Yes | File system type, such as xfs, ext4, nfs4 or tmpfs. |
on_remove |
string | No | “forget” (default) leaves it mounted, “delete” unmounts it and removes the fstab entry. |
opts |
string | No | Mount options. Defaults to “defaults”. |
path |
string | Yes | Mount point. Created if missing. |
src |
string | Yes | Device, UUID=…, LABEL=…, host:/export, or tmpfs. |
Read-only attributes
Section titled “Read-only attributes”Conn3x sets these; reference them as conn3x_mount.<circuit>__<step>["<host>"].<name>.
| Name | Type | Description |
|---|---|---|
in_sync |
bool | Whether the fstab entry matches and it is mounted. |
A step lowers to the conn3x_mount resource, one instance per host, and connects with its circuit’s ssh block.