-
Notifications
You must be signed in to change notification settings - Fork 452
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
Please advise on upgrade path #457
Comments
@skywalk7, the resource was changed a lot in 1.0 to try 1) ensure the configuration was a lot more explicit and matched the API of vSphere a lot closer, and 2) steps were taken to minimize the risk of data loss or accidental deletion when migrating from older versions, namely surrounding the use of cloned virtual machines. This means a couple of things for your situation:
I apologize for any inconvenience that this may cause you, and again we have definitely been considering ways to address the second issue specifically, but as the resource required very drastic changes to get it to where it is today, some decisions had to be made about legacy support. I'm going to close this now, but I would definitely follow the repo for updates regarding legacy migrations and imports. Thanks! |
Hey @skywalk7 I want to take a stab at this (as your question got me thinking)! If you have not started on any refactoring based on the above info (other than OS configuration breakup), maybe hold off a few days. I'll have an answer on whether or not it's going to be possible for us to change answer 2 anytime soon (including a bit more detail as to why it would not be if it is not easily technically possible). Thanks! |
@skywalk7 1.4.0 is now out with the new updates to import/upgrade capabilities. Give it a go and let us know if you have any issues! |
So we have couple hundred VMs already deployed with provider version 0.4.3.
Now I'm trying to update code and modules to support 1.3 and I'm running into issues:
*terraform.EvalDiff, err: this resource was imported or migrated from a previous version and does not support cloning. Please remove the "clone" block from its configuration
. Also it makesimport
support unusable.Can you please help me to understand how I can upgrade to the newer version of provider without completely redeploying everything.
The text was updated successfully, but these errors were encountered: