Closed sheneska closed 6 months ago
Hey Sheneska 👋🏻 , thanks for reporting the bug. I was able to recreate it locally and we're just missing a piece of defaulting logic (similar to the generate
command).
As a workaround until we release the fix, you can run with the --provider-name
argument set:
tfplugindocs validate --provider-name=time
We'll release this fix with v0.19.3
next week!
v0.19.3
has been released with the fix for this 🚀
Terraform CLI and terraform-plugin-docs Versions
github.com/hashicorp/terraform-plugin-docs v0.19.2
Provider Code
Expected Behavior
Should output exit code 0, automatically setting the provider name if in the correct folder (terraform-provider-X)
Actual Behavior
Steps to Reproduce
tfplugindocs generate --flags
How much impact is this issue causing?
Low
Logs
No response
Additional Information
No response
Code of Conduct