A few disparities between flyctl deploy and flyctl m run:
-
Creating a new machine with
flyctl m run --c <path/to/config>doesn’t respectprimary_regionset in theconfigand instead deploys to the region the wireguard peer is connected to (usually, the nearest one).flyctl deploy -c ...does respect theprimary_regiondirective -
Also,
flyctl m run -c </path/to/config>doesn’t seem to use any[env]vars from theconfig(as before,flyctl deploy -c ...does).
Incorrect behaviour with flyctl deploy -c ...ing a machine.
- Even though
[services]section exists withportsandhandlersdefined in myconfig,flyctl deploy -c ...did not allocate a public-ip (neitherv4norv6) address; but the documentation says otherwise.