Skip to content

feat: update terraform-docs version to v0.21.0 across configuration and documentation#380

Merged
virgofx merged 1 commit intomainfrom
fix/update-terraform-docs-version-2026-02-17
Feb 17, 2026
Merged

feat: update terraform-docs version to v0.21.0 across configuration and documentation#380
virgofx merged 1 commit intomainfrom
fix/update-terraform-docs-version-2026-02-17

Conversation

@virgofx
Copy link
Member

@virgofx virgofx commented Feb 17, 2026

This pull request updates the default and referenced version of terraform-docs from v0.20.0 (and earlier) to v0.21.0 throughout the codebase, documentation, tests, and configuration files. This ensures consistency and compatibility with the latest supported version of the tool.

Configuration and Documentation Updates:

  • Updated the default terraform-docs-version in action.yml, .github/workflows/ci.yml, and all related configuration files to v0.21.0. [1] [2]
  • Updated the documentation in README.md to reference v0.21.0 as the default version and in all usage examples. [1] [2]

Code and Test Adjustments:

  • Updated all test files and scripts to use v0.21.0 as the expected and default version, including environment variables and version validation logic in unit tests. [1] [2] [3] [4] [5]
  • Updated error messages, comments, and version validation examples in src/terraform-docs.ts to reference v0.21.0. [1] [2] [3]

Copilot AI review requested due to automatic review settings February 17, 2026 17:20
@github-actions
Copy link

📋 Release Plan

Module Type Latest
Version
New
Version
Release
Details
tf-modules-kms patch v1.0.0 🆕 Initial Release
tf-modules-vpc-endpoint patch v1.0.0 🆕 Initial Release

📝 Changelog

tf-modules-kms-v1.0.0 (2026-02-17)

  • 🔀PR #380 - feat: update terraform-docs version to v0.21.0 across configuration and documentation

tf-modules-vpc-endpoint-v1.0.0 (2026-02-17)

  • 🔀PR #380 - feat: update terraform-docs version to v0.21.0 across configuration and documentation

Wiki Statusℹ️

✅ Enabled

Automated Tag/Release Cleanupℹ️

⏸️ Existing tags and releases will be preserved as the delete-legacy-tags flag is disabled.

Powered by:   techpivot/terraform-module-releaser

@sonarqubecloud
Copy link

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request updates the default terraform-docs version from v0.20.0 to v0.21.0 across the entire codebase. The change ensures consistency with the latest supported version of the terraform-docs tool used for generating wiki documentation. This is a straightforward version bump with no functional changes to the codebase logic.

Changes:

  • Updated default terraform-docs-version input in action.yml from v0.20.0 to v0.21.0
  • Updated all documentation references in README.md to reflect the new default version
  • Updated test files to expect and validate v0.21.0 instead of v0.20.0 or v0.19.0
  • Updated error messages and inline comments in source code to use v0.21.0 in examples
  • Updated CI workflow and test scripts to use the new version

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
action.yml Updated default value for terraform-docs-version input to v0.21.0
README.md Updated documentation table default value and usage example to reference v0.21.0
src/terraform-docs.ts Updated error message example and inline comments showing expected version output format
__tests__/terraform-docs.test.ts Updated test constant and all test cases to use v0.21.0 for validation
__tests__/config.test.ts Updated expected default value assertions for terraformDocsVersion to v0.21.0
scripts/parse-modules-test.ts Updated environment variable for terraform-docs version to v0.21.0
.github/workflows/ci.yml Updated CI workflow to explicitly use v0.21.0 for integration testing

@virgofx virgofx merged commit 024c19f into main Feb 17, 2026
35 checks passed
@virgofx virgofx deleted the fix/update-terraform-docs-version-2026-02-17 branch February 17, 2026 17:27
@release-preview release-preview bot mentioned this pull request Feb 17, 2026
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.

2 participants