-
Notifications
You must be signed in to change notification settings - Fork 247
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support all VMSizeFlags in
fly postgres create
(#4216)
Before this change, `fly postgres create` only supported a set of bespoke VM sizes via the --vm-size flag, making it impossible to create a postgres cluster with, say, 1 shared CPU and 1 GB of memory. As of this change, we create the underlying machine using the entire `MachineGuest` set of options, which allows for additional customization. The legacy prompt and error behavior given no --vm-size or an invalid --vm-size is preserved.
- Loading branch information
1 parent
cd05a97
commit ef6c170
Showing
1 changed file
with
35 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters