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

Pass command line options to terraform-docs #23

Closed
metmajer opened this issue Oct 2, 2018 · 0 comments
Closed

Pass command line options to terraform-docs #23

metmajer opened this issue Oct 2, 2018 · 0 comments

Comments

@metmajer
Copy link
Contributor

metmajer commented Oct 2, 2018

With segmentio/terraform-docs being maintained again, it would be great to leverage some new terraform-docs options, such as:

  • --no-sort: no name-sorting of inputs and outputs when the order of variables should be preserved
  • --with-aggregate-type-defaults: renders default values of types list and map as JSON string into the document

Ideally, the hook would support a pass-through option that relays command line arguments on to terraform-docs. @antonbabenko: Thoughts?

@metmajer metmajer changed the title Add option to pass options to terraform-docs Pass command line options to terraform-docs Oct 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant