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

Validate command not working #376

Closed
1 task done
sheneska opened this issue May 23, 2024 · 3 comments · Fixed by #377
Closed
1 task done

Validate command not working #376

sheneska opened this issue May 23, 2024 · 3 comments · Fixed by #377
Assignees
Labels
bug Something isn't working
Milestone

Comments

@sheneska
Copy link

Terraform CLI and terraform-plugin-docs Versions

github.com/hashicorp/terraform-plugin-docs v0.19.2

Provider Code

N/A

Expected Behavior

Should output exit code 0, automatically setting the provider name if in the correct folder (terraform-provider-X)

Actual Behavior

Screenshot 2024-05-23 at 10 09 47 AM

Steps to Reproduce

  1. tfplugindocs generate --flags

How much impact is this issue causing?

Low

Logs

No response

Additional Information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@sheneska sheneska added the bug Something isn't working label May 23, 2024
@austinvalle
Copy link
Member

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

@austinvalle
Copy link
Member

We'll release this fix with v0.19.3 next week!

@bflad bflad added this to the v0.19.3 milestone May 24, 2024
@austinvalle
Copy link
Member

v0.19.3 has been released with the fix for this 🚀

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
3 participants