-
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
Upgrading to v0.6.16 will delete and rebuild all vSphere hosts #7008
Comments
@tmlink have you tried P. |
|
Hi @tmlink So this was an oversight and we missed a statemigration. Therefore, in order to unblock you and to stop your infra being destroyed, we need to manually change your state Can you post the contents of the your TFstate file (minus secrets) for one of your virtual machines and I can help you with the state change Thanks Paul |
Fixes vsphere virtual machine migration issues with disk controller_type and skip_customization.
I can probably fix my tfstate file, but that's not fixing the problem. It needs to be handled in side of terraform
Terraform shouldn't set a var from not-set to setting it on it's own. Binary vars should use not-set or "" to mean, don't change. |
Thanks Paul, I can get myself unblocked. I believe that #7023 addresses my concerns. |
|
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. |
Upgraded to
Terraform v0.6.16
. Changelog mentions:provider/vsphere: Add skip_customization option to vsphere_virtual_machine resources (#6355)
All of the resources of this vsphere are showing:
even explicitly setting
skip_customization = ""
doesn't help. All of the servers will be delete and rebuild -- data loss.The text was updated successfully, but these errors were encountered: