There is a utility called terrafmt that can be used to check and fix the formating of Terraform snippets embedded into usage sections in README.
How could pre-commit-terraform help solve your problem?
It would be great to have native support as a pre-commit hook.
There is a utility called
terrafmtthat can be used to check and fix the formating of Terraform snippets embedded into usage sections in README.How could pre-commit-terraform help solve your problem?
It would be great to have native support as a pre-commit hook.