You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that the guest_id is optional and by default set to other-64
--> guest_id - (Optional) The guest ID for the operating system type. For a full list of possible values, see here. Default: other-64.
However, applying the state (deploying a new vm) fails with the following error code: vsphere_virtual_machine.vm: Creating... Error: error creating virtual machine: A specified parameter was not correct: configSpec.guestId on main.tf line 36, in resource "vsphere_virtual_machine" "vm": 36: resource "vsphere_virtual_machine" "vm" {
The default value I think is/should be: otherGuest64 (based on that list)
--
Community Note
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
The text was updated successfully, but these errors were encountered:
- Updates the default GOS to `otherGuest64` from `other-64` (invalid).
- Updates `guest_id` and `alternate_guest_name` to correctly mention `otherGuest` and `otherGuest64` - not `other` and `other-64`
- Also updates the descriptions in `virtual_machine_config_structure.go` with more inclusive terminology, cleaner structure, and correct component proper name.
Reference: #1263
Signed-off-by: Ryan Johnson <johnsonryan@vmware.com>
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
vSphere Provider Version
Affected Resource(s)
Debug Output
Basically, if I am referring to the following documentation: https://registry.terraform.io/providers/hashicorp/vsphere/latest/docs/resources/virtual_machine
It seems that the guest_id is optional and by default set to other-64
--> guest_id - (Optional) The guest ID for the operating system type. For a full list of possible values, see here. Default: other-64.
However, applying the state (deploying a new vm) fails with the following error code:
vsphere_virtual_machine.vm: Creating... Error: error creating virtual machine: A specified parameter was not correct: configSpec.guestId on main.tf line 36, in resource "vsphere_virtual_machine" "vm": 36: resource "vsphere_virtual_machine" "vm" {
However, the default guest_id (other-64) doesn't exist if we look at VMware's guest documentation available here: https://code.vmware.com/apis/358/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html
The default value I think is/should be: otherGuest64 (based on that list)
--
Community Note
The text was updated successfully, but these errors were encountered: