╷
│ Error: Failed to create machine
│
│ with fly_machine.server,
│ on main.tf line 197, in resource "fly_machine" "server":
│ 197: resource "fly_machine" "server" {
│
│ Create request failed: 422 Unprocessable Entity, {"error":"Apps for machines must be created via the Machines API. See https://fly.io/docs/reference/machines/#create-a-fly-application."}
│
╵
Getting this error:
I'm guessing this is related to this news: https://community.fly.io/t/fly-apps-on-machine-prerelease/10219/26
This began happening with the flyctl version update from
0.0.473 -> v0.0.474
.