Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for generating the remainder of top-level resource, data source, and provider schema #112

Closed
1 task done
austinvalle opened this issue Jan 12, 2024 · 2 comments · Fixed by #140
Closed
1 task done
Labels
enhancement New feature or request

Comments

@austinvalle
Copy link
Member

Use Cases or Problem Statement

Currently, tfplugingen-framework is not able to generate all of the available schema fields for resources, data sources, or providers because the spec does not support it.

Proposal

Following the spec update here: hashicorp/terraform-plugin-codegen-spec#81

Once that is implemented, we should update tfplugingen-framework to consume this new spec information and generate the appropriate schema code for those remaining schema fields: Description, MarkdownDescription, and DeprecationMessage .

For resources only, we should add Version

Additional Information

Originally requested in: hashicorp/terraform-plugin-codegen-openapi#123

Code of Conduct

  • I agree to follow this project's Code of Conduct
@bflad
Copy link
Contributor

bflad commented Jan 12, 2024

Sounds good to me!

@austinvalle
Copy link
Member Author

This has been addressed in the upstream spec, and can be added after updating to the new terraform-plugin-spec v0.1.1 Go module.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
2 participants