girder / terraform-heroku-girder4

A Terraform module to provision Girder4 infrastructure on Heroku + AWS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Heroku does not allow dynos to have different sizes

dchiquito opened this issue · comments

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.

I was mistaken, it's only Hobby and Standard that cannot mix.