Skip to content

feat: run terraform-docs in directories with terraform file changes#1070

Open
chris3ware wants to merge 2 commits intotrunk-io:mainfrom
chris3ware:main
Open

feat: run terraform-docs in directories with terraform file changes#1070
chris3ware wants to merge 2 commits intotrunk-io:mainfrom
chris3ware:main

Conversation

@chris3ware
Copy link

@chris3ware chris3ware commented Jul 24, 2025

I have attempted to update the terraform-docs action to support mono repos, by introducing functionality to find directories where terraform files have changed.

The action runs terraform-docs in each directory - using the config file from the root of the repository if it exists, or with default values if it does not.

The native --recursive flag does not perform well in this type of scenario and I thought this could be a better solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant