Environment Variables
To manage our environment variables, we use direnv which evaluates the .envrc file when changing into the repository directory.
.envrc
loading...
The above lines of code evaluates the .envrc.chamber.
The below lines of code highlights where .envrc.chamber makes the AWS call to get stuff from chamber.
.envrc.chamber.template
loading...
From there, it's a matter of using the pflag and viper packages. There was a past ADR regarding Config Management.