josenk / terraform-provider-esxi

Terraform-provider-esxi plugin
GNU General Public License v3.0
544 stars 154 forks source link

Compatibility #91

Closed felipeaom closed 4 years ago

felipeaom commented 4 years ago

Good afternoon, I have an ESXi 6.7 and I am setting up my Terraform to use its plugin. But when I create a VM via mail.tf it comes with ESXi 5.0 compatibility. Do you know which parameter I can use to change this version? And choosing a GUEST, do you have any idea of a list of systems to use in main?

josenk commented 4 years ago

Are you reporting an Issue or bug?

felipeaom commented 4 years ago

I believe it is a bug. I looked for some parameter to change VM build compatibility and didn't find it. Do you know if it is possible to configure in main.tf to get the latest compatibility?

josenk commented 4 years ago

Yes, you can change the virtual hardware version by using the following configuration option... BTW: It's documented in the README.md

virthwver - Optional - esxi guest virtual HW version. See esxi documentation for compatible values. - Default 8 or taken from cloned source.