HashiCorp Terraform Provider documentation testing and linting
1.3K
The tfproviderdocs check command verifies the Terraform Provider documentation against the specifications from Terraform Registry documentation and common practices across official Terraform Providers. This includes the following checks:
-providers-schema-json is provided)-providers-schema-json is provided)The validity of files is checked with the following rules:
.md for Terraform Registry).The YAML frontmatter checks include some defaults (e.g. no layout field for Terraform Registry), but there are some useful flags that can be passed to the command to tune the behavior, especially for larger Terraform Providers.
The validity of files can also be experimentally checked (via the -enable-contents-check flag) with the following rules:
-require-schema-ordering is provided). Only supports section level lists (not sub-section level lists) currently.For additional information about check flags, you can run tfproviderdocs check -help.
Content type
Image
Digest
sha256:c6ee595e7…
Size
325.5 MB
Last updated
4 months ago
docker pull moab4x/tfproviderdocs