• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dangernoodle-io / terranoodle / 23501695060
81%

Build:
DEFAULT BRANCH: main
Ran 24 Mar 2026 04:53PM UTC
Jobs 1
Files 51
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Mar 2026 04:52PM UTC coverage: 76.187% (+0.1%) from 76.08%
23501695060

push

github

web-flow
fix: consider TF_VAR_* environment variables in linter validation (#30)

the linter's check() function was not accounting for terraform variables
provided via TF_VAR_* environment variables. This meant that even if a user
had TF_VAR_foo=bar set, the linter would still report variable foo as
MissingRequired.

Changes:
- add tfVarEnvKeys() function to scan os.Environ() for TF_VAR_* prefix and
  extract variable names
- update check() signature to accept envVarKeys parameter
- add env var keys to inputKeys in check(), so they satisfy MissingRequired
  checks but are NOT exempt from ExtraInput checks (per Terraform behavior)
- update File(), StackFile(), and TerraformDir() to call tfVarEnvKeys() once
  and pass the result to check()
- add TestFile_MissingRequiredWithTFVar to verify all required inputs can be
  satisfied by TF_VAR_* env vars
- add TestFile_MissingRequiredWithPartialTFVar to verify partial env var
  coverage still reports missing inputs correctly

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

3577 of 4695 relevant lines covered (76.19%)

0.9 hits per line

Coverage Regressions

Lines Coverage ∆ File
32
79.82
2.15% lint/validate/validator.go
Jobs
ID Job ID Ran Files Coverage
1 23501695060.1 24 Mar 2026 04:53PM UTC 51
76.19
GitHub Action Run
Source Files on build 23501695060
  • Tree
  • List 51
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23501695060
  • 3fb3700c on github
  • Prev Build on main (#23501043824)
  • Next Build on main (#23503886407)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc