-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Mildwonkey/providers interface renaming #27805
Conversation
Codecov Report
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This mostly looks good to me! The new names are much clearer.
I think a couple of the renames (in getproviders and the old registry client) may not be right. Can you check?
This commit renames a handful of functions in the providers.Interface to match changes made in protocol v6. The following commit implements this change across the rest of the codebase; I put this in a separate commit for ease of reviewing and will squash these together when merging. One noteworthy detail: protocol v6 removes the config from the ValidateProviderConfigResponse, since it's never been used. I chose to leave that in place in the interface until we deprecate support for protocol v5 entirely.
Several function names and types have change in the providers.Interface. This commit weaves those changes through all of terraform. Note that none of these changes impact current providers using protocol v5; the protocol is unchanged. Only the translation layer between the proto and terraform have changed.
a82d77d
to
13b6dab
Compare
13b6dab
to
91087fe
Compare
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
This PR builds on #27793 and will be merged only after that is reviewed and merged.
This PR renamed several functions and types in
providers.Interface
, and weaves that change throughout terraform. I put the interface change in a separate commit to aid in reviewing; I will squash these commits together when merging.This is a purely aesthetic change, updating our internal names to match the new protocol v6. There is no expected impact on providers written against protocol v5 - nothing has changed in the v5 protocol definition, only in the conversion from that package to internal terraform types.