heroku / heroku-accounts

Helps use multiple accounts on Heroku.
ISC License
549 stars 38 forks source link

Separation of concerns #16

Open kamoljan opened 6 years ago

kamoljan commented 6 years ago

Is it common practice to separate Heroku accounts for prod and non-prod (e.g. staging, dev, etc)?

halo commented 6 years ago

I really don't think so. Instead you would use a Pipeline that has multiple apps such as myapp-staging which you then can promote to myapp-production without having to rebuild your application.

I believe that separate Heroku accounts only make sense if you have to keep the billing separate for these accounts. E.g. different customers or personal VS. business.

EDIT: But you do need to make sure you don't just call your production application myapp and your staging application myapp-staging because you may easily perform a destructive action against production by mistake when you wanted to use staging instead.