terraform-docs / gh-actions

A Github action for generating Terraform module documentation using terraform-docs and gomplate
Apache License 2.0
152 stars 63 forks source link

Unexpected input(s) 'recursive', 'recursive-path' #77

Closed KB30497 closed 2 years ago

KB30497 commented 2 years ago

Describe the bug

Adding 'recursive' and 'recursive-path' to the workflow file results in the following error: Warning: Unexpected input(s) 'recursive', 'recursive-path', valid inputs are ['entryPoint', 'args', 'config-file', 'working-dir', 'atlantis-file', 'find-dir', 'output-format', 'output-method', 'output-file', 'template', 'indention', 'git-push', 'git-push-user-name', 'git-push-user-email', 'git-commit-message', 'git-push-sign-off', 'fail-on-diff']

Seems like they might not be included in v0.11.0 even though the examples make it seem like they are. Is that intended?

How can we reproduce it?

- name: Render Terraform Docs (Recursive)
  uses: terraform-docs/gh-actions@v0.11.0
  with:
    working-dir: .
    output-file: README.md
    output-method: inject
    recursive: true
    recursive-path: modules

Environment information

Github Actions

khos2ow commented 2 years ago

Sorry for the long delay, this feature has been added in v1.0.0 which just was released.

KB30497 commented 2 years ago

Works great now, thank you!