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

nomad_job data source documentation doesn't match attributes from actual implementation #435

Open
MatthewJohn opened this issue Feb 28, 2024 · 0 comments

Comments

@MatthewJohn
Copy link
Contributor

MatthewJohn commented Feb 28, 2024

The documentation for the "nomad_job" data source is quite incorrect:

Looking at the documentation, this attribute was added in d07fdf6, which was first included in v1.3.0. But even that release doesn't contain these attributes: https://github.com/hashicorp/terraform-provider-nomad/blob/v1.3.0/nomad/datasource_nomad_job.go#L98

Is it all updated automatically using tfplugindocs, or does it need updating manually? If the former, I'd be happy to update and create a PR

(I didn't include any the Github issue template, as this isn't a bug that needs reproducing, so logs, code etc didn't seem applicable)

I also wonder if it's possible to rename the data source file, since it doesn't match the standard conversion for terraform providers (which is used by nearly all of the others in this provider): datasource_nomad_job.go -> data_source_job.go

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant