Skip to content

Add a reusable workflow for Terraform modules - #5

Merged
spy86 merged 1 commit into
mainfrom
feat/terraform-module
Nov 24, 2026
Merged

spy86 merged 1 commit into
mainfrom
feat/terraform-module

Conversation

@spy86

@spy86 spy86 commented Nov 24, 2026

Copy link
Copy Markdown
Member

Adds a reusable workflow that lints, scans and tests Terraform modules consumed from GitHub.

@spy86
spy86 requested a review from a team as a code owner November 24, 2026 20:33
@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

Walkthrough

Adds a reusable GitHub Actions workflow for Terraform module linting and tests across configured Terraform versions. The README documents the workflow’s inputs, usage, checks, and release process.

Changes: Terraform Module Workflow

Layer / File(s) Summary
Reusable lint workflow and documentation
.github/workflows/terraform-module.yml, README.md
The workflow defines configurable tool versions and severity levels. Its lint job checks formatting, validates the module and examples, runs TFLint, checks generated README content, and scans configuration with Trivy. The README documents workflow usage, inputs, configuration, and release guidance.
Terraform test matrix and stable check
.github/workflows/terraform-module.yml
The workflow runs tests for each configured Terraform version, fails if test files are absent, and reports the aggregate matrix result through a stable check.
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

A rabbit checks the Terraform rows,
Then through each version’s test it goes.
The README marks the paths to take,
And linting checks each file in wake.
With carrots packed, it hops away,
The workflow runs another day.

@spy86
spy86 merged commit 374ac47 into main Nov 24, 2026
1 of 2 checks passed
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.

1 participant