HACKER Q&A
📣 CubeRoot27

Developers/DevOps, how do you manage environment variables?


Hey everyone!

I've been trying different ways to manage and keep track of environment variables, like using .env file, AWS Parameter Store, Spring Cloud Config and k8s ConfigMaps. But I keep running into issues like:

- Forgetting to add env variables in different environments (Staging/Production)

- Not knowing if we still need certain env variables

- Unsure if the right env variable is being used inside the process or if it got mixed up

- Old containers might still use old values

How do you guys handle your environment variables? Any problems you've faced? Would love to hear some tips or stories!

Thanks!


  👤 fefferkorn Accepted Answer ✓