flyctl volumes extend error: yes flag must be specified when not running interactively

I am attempting to extend a volume from 10GB to 20GB using flyctl on Windows 11 (flyctl.exe v0.0.402 windows/amd64 Commit: 698f3bda BuildDate: 2022-10-01T07:21:59Z) but I get the error:

PS > flyctl volumes extend vol_XXXXXXXXXXXXXXXX -s 20
Error yes flag must be specified when not running interactively

Has any one experienced this error and if so, how did you extend your volumes for a running app?

As far as I can tell, flyctl does not even support a --yes flag option for the volumes extend command like it does for the apps move command.

Hey @blair,

I just pushed up a change that should address this issue.

Steps to resolve:

  1. Update flyctl to version v0.0.403 ( Should be available shortly )

  2. Use the --auto-confirm flag to skip interactivity.
    E.G. flyctl volumes extend <volume-id> -s <size-gb> --auto-confirm

If you continue to see issues, let me know!

Thanks @shaun!

That fixed the issue.