hashicorp / hashicorp/terraform-plugin-docs

Validate silently pass in case there is no directory for list resources

Open
#584 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
263
Forks
84
Avg merge
3d 6h
Merged PRs (30d)
2

Description

### Terraform CLI and terraform-plugin-docs Versions

```
github.com/hashicorp/terraform-plugin-docs v0.24.0 // indirect
❯ terraform version
Terraform v1.14.8
on darwin_arm64
```

### Provider Code

```go
I implemented a list resource without creating a folder in the docs/ folder for list resources
```

### Expected Behavior

I would expect tfplugindocs validate to fail

### Actual Behavior

tfplugindocs validate do not fail and ignore that a list does not have any documentation

### Steps to Reproduce

- checkout 2f7ab41d64edd6788d5befc2e21ba39ef403e4aa on https://github.com/scaleway/terraform-provider-scaleway
- make docs

### How much impact is this issue causing?

High

### Logs

_No response_

### Additional Information

_No response_

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.