Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pre-commit-terraform terraform_docs changes in v1.93+ #103

Open
MaxymVlasov opened this issue Sep 4, 2024 · 1 comment
Open

pre-commit-terraform terraform_docs changes in v1.93+ #103

MaxymVlasov opened this issue Sep 4, 2024 · 1 comment
Assignees
Labels
good first issue Good for newcomers

Comments

@MaxymVlasov
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants
@anmolnagpal @MaxymVlasov @h1manshu98 and others