hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.83k stars 9.18k forks source link

[Proposal]: Populate description fields in resource schema #28888

Open breathingdust opened 1 year ago

breathingdust commented 1 year ago

Description

Both terraform-plugin-sdk and terraform-plugin-framework based resources allow the configuration of descriptions at the attribute and resource level. This can defined as either plain-text or markdown. The AWS Provider has historically not filled these attributes in, instead relying on hand written documentation for each resource.

It would be beneficial for various downstream tooling to have these populated (ie):

To enable this we would ideally need to rely on tooling to generate the bulk of the registry documentation from the schema descriptions, but allow overrides and customizations to provide examples notes and callouts. Contributors should not be responsible for maintaining documentation in two places. Examine the ease of documentation contribution via hand written fields or maintaining description fields.

Potential Implementation Ideas

Affected Resource(s) and/or Data Source(s)

No response

Potential Terraform Configuration

No response

References

Would you like to implement a fix?

None

github-actions[bot] commented 1 year ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue