Running fly deploy keeps moving my machine back to 256MB of ram

I have a machine that I originally created as shared-cpu-1x@256MB.

After that I scaled that VM to 1gb using the scale command fly scale memory 1GB -a fbc-prod

I also added the following to my fly.toml file:

  size = 'shared-cpu-1x'
  memory = "1gb"

But, after any fly deploy command my machine will be scale down again to only 256mb of RAM.

I also tried to update the machine config directly with fly m update [machine_id] --cpus 1 --memory 1024 but it didn’t work.

This is my flyctl version: flyctl v0.2.39 linux/amd64 Commit: c69ef312dfbe1cba1bfc057a181cacc1b29ebb7c BuildDate: 2024-04-19T00:00:33Z

Actually, my fly.toml was in another directory. Using the correct one worked fine.

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