Open jacobian opened 8 years ago
+1
The example in schema.js shows the expected format:
"example": [ { "process": "web", "quantity": 1, "size": "standard-2X" }, { "process": "worker", "quantity": 1, "size": "standard-2X" } ]
https://github.com/app-json/app.json/blob/master/lib/schema.js#L81
The documentation on Heroku suggests a different format:
{
"formation": {
"web": {
"quantity": 2,
"size": "Performance-M"
}
}
}
https://devcenter.heroku.com/articles/app-json-schema#formation
I can confirm this issue/error is still occuring.
as far as I can tell this is still occurring
Using this app.json,
app.json validate
reports an error:The relevant
formation
is:Despite the error, this appears to be correct -- that is, using the Heroku Button on that repo correctly deploys an app with web and worker dynos correctly set to 1 free each.