gruntwork-io / pre-commit

A collection of pre-commit hooks used by Gruntwork tools
https://gruntwork.io/
Apache License 2.0
494 stars 157 forks source link

Add support for terraform-docs #38

Closed pritho closed 4 years ago

pritho commented 4 years ago

Would be great to add support for creating documentation like here: https://github.com/terraform-docs/terraform-docs

brikis98 commented 4 years ago

Hm, this doesn't sound like a pre-commit hook... Wouldn't this be more of a release step you'd want (e.g., when tagging a new release of a module)?

pritho commented 4 years ago

Hey @brikis98 , thanks, you're correct, looks like this would be more interesting for sole terraform-modules as it generates a nice table about requirements, necessary providers, inputs and outputs. Think that's not applicable for the terragrunt-wrapper.