envcheck goes beyond basic .env linting to verify environment variable consistency across your entire infrastructure stack.
| Integration | Command | What it checks |
|---|---|---|
| Kubernetes | envcheck k8s-sync | SecretKeyRef/ConfigMapKeyRef vs .env |
| Terraform | envcheck terraform | TF_VAR_* variable usage |
| Ansible | envcheck ansible | lookup('env', 'VAR') calls |
| GitHub Actions | envcheck actions | env: blocks in workflows |
| Helm | envcheck helm | SCREAMING_SNAKE_CASE in values.yaml |
| ArgoCD | envcheck argo | plugin.env and kustomize.commonEnv |
Environment variables often drift across different parts of your infrastructure:
.env, .env.localenv: blocksTF_VAR_*, Ansible lookupsenvcheck ensures all these stay in sync, catching mismatches before they cause production issues.