fly launch doesn't use vm settings in fly.toml

I’m trying to launch an app using a fly.yaml like

app = "my-app"
primary_region = "mia"

...
[[vm]]
  cpu_kind = "shared"
  cpus = 1
  memory = "512mb"

When I launch this app fly says

An existing fly.toml file was found for app mails-app
? Would you like to copy its configuration to the new app? Yes
Using build strategies '[the "mailserver/docker-mailserver:13" docker image]'. Remove [build] from fly.toml to force a rescan
Creating app in /my-app
We're about to launch your app on Fly.io. Here's what you're getting:

...
Name:         my-app              (from your fly.toml)
Region:       Miami, Florida (US)    (from your fly.toml)
App Machines: shared-cpu-1x, 1GB RAM (most apps need about 1GB of RAM)
Postgres:     <none>                 (not requested)
Redis:        <none>                 (not requested)

Why doesn’t use what is in my configuration ? Also I see that if I agree to apply what it proposes it updates my configuration and replaces memory by memory_mb.

So it seems fly doesn’t respect/use the parameter I grabbed from your documentation at Fly Launch configuration (fly.toml) · Fly Docs. Any idea what’s going ?

$ fly version
fly v0.1.139 darwin/arm64 Commit: 74ce494caee8a861dc85ca296961e181023cfe64-dirty BuildDate: 2024-01-08T18:39:44Z

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.