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 migration in the code generation documentation #477

Open
remyleone opened this issue Oct 18, 2023 · 1 comment
Open

Add support for migration in the code generation documentation #477

remyleone opened this issue Oct 18, 2023 · 1 comment
Labels
documentation Improvements or additions to documentation plugin

Comments

@remyleone
Copy link

As a provider maintainer I got existing provider code. I would like to migrate progressively to the new code generation tool that is offered and based on openapi. Could you add content about how to migrate progressively to this new way of writing code?

How can I organize my code to make this migration as easy as possible? Where should the code generation configuration code live? How can I manage custom logic? How can I handle waiting operation when an operation in ongoing? How can I handle override and validation?

This content could help a lot to migrate to this new code generation phase of terraform plugin development :)

@austinvalle
Copy link
Member

austinvalle commented Oct 19, 2023

Thanks @remyleone! I think falls into a nice "best practices + guidance" area of documentation. May not be something we get to immediately, but adding it to the list! 👍🏻

@austinvalle austinvalle added documentation Improvements or additions to documentation plugin labels Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation plugin
Projects
None yet
Development

No branches or pull requests

2 participants