Skip to content

Lack of SchemaDescriptionBuilder equivalent (from sdkv2) #625

Open
@jacobbednarz

Description

@jacobbednarz

Module version

github.com/hashicorp/terraform-plugin-framework v1.1.1

Overview

Within terraform-provider-cloudflare, we heavily rely on terraform-plugin-docs to generate our documentation. As part of this, we have an init method that handles some formatting that we specifically want to all field attributes. I.e. if changing a schema attribute will force a replacement, we call that out in the description.

https://github.com/cloudflare/terraform-provider-cloudflare/blob/20222d155d457736d71eaa41a63bb87853cfaf29/internal/provider/provider.go#L19-L76

From the code snippet, you can see that it relies on SchemaDescriptionBuilder and a function that modifies the descriptions to match our format.

I've had a dig around in the framework codebase but I'm unable to find anything that resembles any similar (even in the provider Configure). Have I overlooked this? Or is this not supported in its current form?

References

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestsdkv2-parityIssues tracking feature parity with terraform-plugin-sdk v2 and PRs working towards it.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions