wait_for
Waits until a path exists or a TCP port is listening on the host. Refresh checks again, so a later apply waits again if it stopped.
Arguments
Section titled “Arguments”| Name | Type | Required | Description |
|---|---|---|---|
path |
string | No | Path to wait for. Set this or port. |
port |
number | No | TCP port to wait for a listener on. Set this or path. |
timeout |
string | No | How long to wait. Defaults to “5m”. |
Read-only attributes
Section titled “Read-only attributes”Conn3x sets these; reference them as conn3x_wait_for.<circuit>__<step>["<host>"].<name>.
| Name | Type | Description |
|---|---|---|
in_sync |
bool | Whether it was ready at the last refresh. |
A step lowers to the conn3x_wait_for resource, one instance per host, and connects with its circuit’s ssh block.