Open
Description
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
Add waiters for the following Scaleway CLI commands:
scw instance server attach-filesystem
scw instance server detach-filesystem
Currently, these commands return immediately after the API request is sent. However, the server or filesystem can remain in a transitional state (attaching, detaching, etc.) for a few seconds. This creates timing issues when scripting or chaining commands.
How I imagine scw could expose this functionality
Introduce a --wait flag (or default waiter logic behind the scenes) that:
For attach-filesystem: waits until the filesystem is fully attached and available.
For detach-filesystem: waits until the filesystem is completely detached.