Skip to content

[FEATURE] Add tflint CI snippet#29

Merged
prog-time merged 3 commits into
mainfrom
issues-14
Apr 22, 2026
Merged

[FEATURE] Add tflint CI snippet#29
prog-time merged 3 commits into
mainfrom
issues-14

Conversation

@prog-time
Copy link
Copy Markdown
Owner

Summary

Adds a tflint CI snippet to the linters category — Terraform linter catching deprecated syntax, provider-specific errors, and module-structure issues that terraform validate misses. Uses the official terraform-linters/setup-tflint@v4 action (tflint v0.55.0 pinned). Runs tflint --init then tflint --recursive; gracefully skips when no .tf files are present.

Changes

  • issues-14|add tflint CI snippetscripts/shell/linters/tflint.sh, scripts/CI/linters/tflint.yml, CI/linters/tflint.yml
  • issues-14|add BATS tests for tflint — 3 tests (no .tf, clean, failing)
  • issues-14|document tflint in README — Snippets table, Available snippets / Linters section, project structure tree

Test plan

  • bats tests/linters/tflint.bats — 3/3 pass
  • yamllint clean on both new YAML files
  • CI green on this PR

Closes #14

@prog-time prog-time merged commit a201466 into main Apr 22, 2026
5 checks passed
@prog-time prog-time deleted the issues-14 branch April 22, 2026 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Add tflint CI snippet

1 participant