Hacker News new | ask | show | jobs
by sph 1229 days ago
But why? Is it not easier to store the JSON as file and have an env variable that points to it?

JSON as env value is utter madness.

1 comments

Having no config files is part of the 12 factors [0]. All cloud providers I have worked with adhere to this.

[0]: https://12factor.net

12factor doesn't mandate that you put the entirety of a JSON file into a single variable. That is what you implied with your original comment.