hashicorp / hashicorp/terraform-plugin-docs
Log/Output Provider Binary Path When Used
- Dominant language
- Go
- Stars
- 263
- Forks
- 84
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 2
Description
example:
```
// service_account resource schema
func (r serviceAccountResourceType) GetSchema(_ context.Context) (tfsdk.Schema, diag.Diagnostics) {
return tfsdk.Schema{
MarkdownDescription: "Service account resource",
Attributes: map[string]tfsdk.Attribute{
"id": {
Type: types.StringType,
Computed: true,
MarkdownDescription: "Server generated UUID",
},
"name": {
Type: types.StringType,
Required: true,
Validators: []tfsdk.AttributeValidator{
validate.StringNotNull(),
},
},
"role": {
Type: types.StringType,
Required: true,
Validators: []tfsdk.AttributeValidator{
validate.RoleIsValid(),
},
},
"membership_id": {
Type: types.StringType,
Computed: true,
MarkdownDescription: "Server generated UUID",
},
},
}, nil
}
```
Both `Description` and `MarkdownDescription` are ignored.
github.com/hashicorp/terraform-plugin-docs v0.5.1
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.