terraform-plugin-docs icon indicating copy to clipboard operation
terraform-plugin-docs copied to clipboard

Generate and validate Terraform plugin/provider documentation.

Results 74 terraform-plugin-docs issues
Sort by recently updated
recently updated
newest added

This PR introduces a `--use-provider-prefix` flag for the `tfplugindocs generate` command. The flag defaults to false, in which case the command behavior around file names matches existing behavior. When the...

### Terraform CLI and terraform-plugin-docs Versions Terraform v1.6.2 ### Provider Code ```go n/a ``` ### Expected Behavior the markdowns generated need to reflect the source from the current project directory...

bug

### Terraform CLI and terraform-plugin-docs Versions `terraform version Terraform v1.6.6 on darwin_arm64` `github.com/hashicorp/terraform-plugin-docs v0.18.0` ### Provider Code ```go https://registry.terraform.io/providers/duplocloud/duplocloud/latest/docs/resources/plan_certificates#certificate ``` ### Expected Behavior Marking the fields `id` as read only...

bug

### Terraform CLI and terraform-plugin-docs Versions `github.com/hashicorp/terraform-plugin-docs v0.18.0` ### Use Cases or Problem Statement Bubbling up from this comment https://github.com/hashicorp/terraform-plugin-go/issues/267#issuecomment-1494874479 and a TODO in an error message here: https://github.com/hashicorp/terraform-plugin-docs/blob/6b686eefb31bc0d7e4e7a3a71952e98e882babef/schemamd/render.go#L86 Tuple...

enhancement

### Terraform CLI and terraform-plugin-docs Versions `github.com/hashicorp/terraform-plugin-docs v0.18.0` ### Use Cases or Problem Statement Currently, when documenting a provider-defined function that has an object as a parameter or return type,...

enhancement

Could you write an example about how tfproviderdocs would be supposed to work in a CI ? Either breaking if there is a diff between what tfproviderdocs should generate and...

documentation

Seems like right now tfplugindocs generate got hardcoded - plugins/registry.terraform.io/hashicorp/ for the providerPath, but in case of locally developed provider it's not a case. ``` $ tfplugindocs generate rendering website...

enhancement

This PR updates the README to include the `go install` command to use to install `tfplugindocs`

The generated schema information contains anchors in the form of `` which are immediately followed by a markdown title in the form of `### Nested Schema for ...`. My expectation...

Take the following code snippet from a Terraform provider: ``` func resourceWizAutomationRuleServiceNowCreateTicket() *schema.Resource { return &schema.Resource{ Description: "Automation Rules define associations between actions and findings.", Schema: map[string]*schema.Schema{ "servicenow_summary": { Type:...

bug