Heroku does not allow dynos to have different sizes
dchiquito opened this issue · comments
Daniel Chiquito commented
Currently, it is possible to configure the web
and worker
dyno sizes separately. When you try to apply those changes, you get an error like this one:
Error: Patch "https://api.heroku.com/apps/dandi-api/formation/worker": Cannot use the following dyno types in the same app: Hobby, Standard-1X, and Standard-2X
on .terraform/modules/api/modules/heroku/main.tf line 32, in resource "heroku_formation" "heroku_worker":
32: resource "heroku_formation" "heroku_worker" {
heroku_worker_dyno_size
and heroku_worker_dyno_size
should be consolidated into heroku_dyno_size
so that this is not possible.
Daniel Chiquito commented
I was mistaken, it's only Hobby and Standard that cannot mix.