Open aamkye opened 7 months ago
Seeing this with v0.18.0 as well.
I think https://github.com/terraform-docs/terraform-docs/issues/726 has a lot of mirroring with this issue.
At a sort of squinty guess, a provider needs to be used in the module that the README.md is being generated for. Sub-module usage of the provider doesn't seem to carry through to the root module.
I provide a ~hack~ solution.
Describe the bug
GitHub Provider:
Generates:
And now the fun part starts:
TFE Provider:
Generates:
I'd expect some consistency here 😅.
What is even more interesting, CI thinks differently than local and fails with:
How can we reproduce it?
I think you could use the attached snippets.
+ config:
Environment information
+ version used in CI: https://github.com/terraform-docs/terraform-docs/releases/download/v0.17.0/terraform-docs-v0.17.0-linux-amd64.tar.gz