-
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
Output on plugin API mismatch is misleading #12580
Comments
How does one actually change the plugin version? I cant seem to find it in the docs edit: Update the vendors However would it be possible to output which plugin is incompatible with the api version? I have multiple plugins and have no idea which one is failing. Something like: |
We should definitely be able to improve this in every way recommended here. Thanks! |
Sorry for the long silence here, all! The situation here has already changed quite a lot since v0.8.8 because we switched to downloading and installing providers separately during The recent PRs #19977, #19976, and #19981 have introduced new messages that talk about which available versions are compatible rather than directly about the protocol versions. We will continue to iterate on this in future releases, since the existing installer architecture constrained how much we could change without risky refactoring, but I think what we've done so far is enough to close this out since it is now far more actionable than it was in v0.8.8. Thanks for reporting this @rtizzy, and sorry for taking so long to address it! |
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. |
Terraform Version
Terraform v0.8.8
Affected Resource(s)
Custom providers that have API mismatches
Expected Behavior
A clear error should be provided that indicates the plugin version is mismatched with the current API version of terraform. It should then output the version of each.
The output should be something like the following.
Actual Behavior
The error provided has misleading language that does not clarify what actually has the version mismatch (Terraform or the Provider). "Ours" would seem to indicate the API version of terraform but instead indicates the version of the plugin
Steps to Reproduce
Updated with suggestions by @ekhaydarov.
The text was updated successfully, but these errors were encountered: