Skip to content

Commit 012086b

Browse files
authored
feat: Generate terraform docs recursively (#99)
Add the `--recursive` flag to terraform-docs so that submodules can also be documented using terraform docs. Example of this working: * schubergphilis/terraform-azure-ep-identity-governance@ecdd9aa
1 parent 6494bcf commit 012086b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sync-root/.github/workflows/terraform-validation.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116
- name: Render terraform docs inside the README.md and push changes back to PR branch
117117
uses: terraform-docs/gh-actions@v1.3.0
118118
with:
119-
args: --sort-by required
119+
args: --sort-by required --recursive
120120
git-commit-message: "docs(readme): update module usage"
121121
git-push: true
122122
output-file: README.md

0 commit comments

Comments
 (0)