actions-marketplace-validations/terraform-docs-archived

A Github action for generating terraform module documentation using terraform-docs and gomplate.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
tf_docs_working_dirDirectories of terraform modules to generate docs for seperated by commas (conflicts with atlantis/find dirs)no.
tf_docs_atlantis_fileGenerate directories by parsing an atlantis formatted yaml to enable provide the file name to parse (eg atlantis.yaml)nodisabled
tf_docs_find_dirGenerate directories by running find ./tf_docs_find_dir -name *.tfnodisabled
tf_docs_output_fileFile in module directory where the docs should be placednoUSAGE.md
tf_docs_content_typeGenerate document or tablenotable
tf_docs_indentionIndention level of Markdown sections [1, 2, 3, 4, 5]no2
tf_docs_argsAdditional args to pass to the command see https://github.com/segmentio/terraform-docs/tree/master/docsno""
tf_docs_output_methodMethod should be one of (replace/inject/print) where replace will replace the tf_docs_output_file, inject will inject the content between start and close delims and print will just print the outputnoinject
tf_docs_git_pushIf true it will commit and push the changesnofalse
tf_docs_git_commit_messageCommit messagenoterraform-docs: automated action
tf_docs_templateWhen provided will be used as the template if/when the OUTPUT_FILE does not existno# Usage <!--- BEGIN_TF_DOCS ---> <!--- END_TF_DOCS --->
namedescription
num_changedNumber of files changed