12.1 Factor Apps: Config

Patch level improvements to the original 12 factor apps. 4 points to improve the configuration factor in your application.

The 12 factor app states that applications should read config from environment variables. It implies separation of code and config. That’s about it, but there’s good bones here. I want something bigger from this factor. Specifically that applications may be deployed to new environments without any code changes. This requires a few additions:

  1. Configure the process through command options and environment variables
  2. Prefer explicit configuration over implicit configuration 
  3. Use a dry run option to verify config sanity
  4. Fail fast on any configuration error

Mentioned in Show


Freebies

Resources

Books

Join our newsletter

Transcripts and show notes sent to your inbox.

Got it. You're on the list!
2020 Adam Hawkins