-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
"Unrecognized remote plugin message" following 012upgrade instructions #21705
Comments
Note, when I ran |
Hi @pmcevoy, The plugins that are failing are all ones provided by the terraform binary itself. This leads me to believe that the main binary is locating and executing the old terraform binary for the internal plugins. This seems to be windows specific at the moment. I'm not sure if it's a limitation of how windows processes cli arguments, or if we're not looking in the correct path. The complete log output may help show what is being picked for a binary internally. In the meantime I think you may need to consistently name the current version |
I've completely removed all versions of
I setup the different versions of the exe in their own folders (not on my path) and ran the sequence above again from a clean configuration folder:
(that last message is odd because I know for certain the .tf config in my CWD uses a
I've attached a DEBUG log of the entire set of above interactions. I hope you understand, I had to remove any AWS request/response logging I could find in the file - it's a pity that there isn't a feature to do this already) Pete |
🤔I think this is the important bit from that log:
At a glance (without digging into the code) it looks like the extra TF_CLI_ARGS need to be left out when starting the internal plugin. |
That Regarding the |
Ah - that fixed it. I think I had set |
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
*Please note the
terraform12
alias I am using (terraform.exe
is still v0.11)(note - Windows 10)
I'm following the instructions on https://www.terraform.io/upgrade-guides/0-12.html#upgrading-to-terraform-0-12 to update from 0.11.14 to 0.12.1
Steps to Reproduce
I removed the
.terraform
directory from the CWDUsing terraform 11, I
init
andapply
I then run
0.12checklist
:I have then tried a number of approaches, but I believe I need to
init
using version 12:I want to attempt the auto-upgrade, but it fails with seemling random provider errors that I am not using:
each time I run
0.12upgrade
, it lists a different unreferenced provisioner: EGI'm pretty certain I'm following the upgrade instructions correctly, but it's failing.. I have a lot of configs using unsupported v 0.11 structures, and I'd like to fix as many automatically as I can
The text was updated successfully, but these errors were encountered: