flyctl
flyctl copied to clipboard
Development Postgres missing auto_stop_machines
Describe the bug Creating a new development Postgres app and answering "y" to autoshutdown question creates an app that does not auto shutdown.
After saving the config, it is missing auto_stop_machines = true
https://community.fly.io/t/postgres-apps-not-scaling-to-zero/13311
flyctl v0.1.58 darwin/arm64 Commit: 82ebecb2bf83647d20c0e11e51272418f40a9b2c-dirty BuildDate: 2023-07-14T18:28:59Z
** Command output: **
$: fly postgres create
? Choose an app name (leave blank to generate one): <databaseapp>
automatically selected personal organization: <org>
Some regions require a paid plan (bom, fra, maa).
See https://fly.io/plans to set up a plan.
? Select region: Atlanta, Georgia (US) (atl)
? Select configuration: Development - Single node, 1x shared CPU, 256MB RAM, 1GB disk
? Scale single node pg to zero after one hour? Yes
Creating postgres cluster in organization personal
Creating app...
.....
$: fly config save --app <databaseapp>
This could be related to this issue i think: https://github.com/superfly/flyctl/issues/4172