terraform-docs fail when recursive is activated #380
Labels
documentation
Improvements or additions to documentation
estimate/1h
Need 1 hour to be done
hook/terraform_docs
Bash hook
Describe the bug
My repository looks like this
When running the pre-commit hook using the docker image terraform-docs fails stating:
Error: stat modules: no such file or directory
Tested in MacOs and linux
How can we reproduce it?
docker run --rm -v $(pwd):/lint -w /lint ghcr.io/antonbabenko/pre-commit-terraform:v1.71.0 run -a
Environment information
OS:
OS: MacOS
docker info
:Docker image tag/git commit: ghcr.io/antonbabenko/pre-commit-terraform:v1.71.0
Tools versions. Don't forget to specify right tag in command -
TAG=latest && docker run --entrypoint cat pre-commit:$TAG /usr/bin/tools_versions_info
.pre-commit-config.yaml
:The text was updated successfully, but these errors were encountered: