Just in case you plan to update to new versions of hook (1.93.0+)
You need to drop the template section to use the default one
|
template: |- |
|
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK --> |
|
{{ .Content }} |
|
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --> |
Or run simple bash script from p.3 in https://github.com/antonbabenko/pre-commit-terraform?tab=readme-ov-file#terraform_docs (permalink) which will replace all comment occurrences
Just in case you plan to update to new versions of hook (1.93.0+)
You need to drop the template section to use the default one
fixit-cloud-modules/.terraform_docs/config.yml
Lines 81 to 84 in e6776c7
Or run simple bash script from p.3 in https://github.com/antonbabenko/pre-commit-terraform?tab=readme-ov-file#terraform_docs (permalink) which will replace all comment occurrences