You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(terraform): add module validation and documentation workflows - #46
Adds reusable Terraform validation and documentation so module repositories can share the same CI contracts. Validation checks formatting, discovers tracked modules recursively, disables backend initialization, and runs native validation without planning or applying infrastructure. Documentation runs the digest-pinned official terraform-docs CLI as the checkout owner to preserve readme prose and opens the standard Hoverkraft documentation PR after trusted main-branch CI.
Each action has a dedicated hosted test workflow. Validation covers nested modules, formatting and reference failures, and an empty selection. Documentation covers recursive generation, preserved prose, Git staging permissions, and idempotence. Action and workflow references are generated with ci-dokumentor.
Validation: existing make test suites and make lint pass; direct Actionlint, Yamllint, Prettier, Zizmor, Biome, duplicate-code and Terraform lint checks pass. Terraform 1.17.2 formatting and native validation pass on both synthetic fixtures and every module in hoverkraft-tech/terraform-modules.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds reusable Terraform validation and documentation so module repositories can share the same CI contracts. Validation checks formatting, discovers tracked modules recursively, disables backend initialization, and runs native validation without planning or applying infrastructure. Documentation runs the digest-pinned official terraform-docs CLI as the checkout owner to preserve readme prose and opens the standard Hoverkraft documentation PR after trusted main-branch CI.
Each action has a dedicated hosted test workflow. Validation covers nested modules, formatting and reference failures, and an empty selection. Documentation covers recursive generation, preserved prose, Git staging permissions, and idempotence. Action and workflow references are generated with ci-dokumentor.
Validation: existing
make testsuites andmake lintpass; direct Actionlint, Yamllint, Prettier, Zizmor, Biome, duplicate-code and Terraform lint checks pass. Terraform 1.17.2 formatting and native validation pass on both synthetic fixtures and every module in hoverkraft-tech/terraform-modules.Required by hoverkraft-tech/terraform-modules#114.