DEV Community

I Built a CLI to Stop Missing Env Vars from Breaking Deployments (opens in new tab)

Discussed on DEV

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
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help