I Built a CLI to Stop Missing Env Vars from Breaking Deployments (opens in new tab)
Environment variables look boring until they break a deployment. I kept running into the same kind of problem while building TypeScript systems: a variable exists locally the CI pipeline does not have it the deployment provider does not have it the service starts anyway the real failure appears later, far away from the source The bug is usually not complex. The debugging session is. You end up checking .env files, CI variables, GitHub Actions secrets, GitLab variables, deployment dashboards, ...
Read the original article