# Customization spec error while trying to deploy VM from vsphere provider

**URL:** <https://discuss.hashicorp.com/t/customization-spec-error-while-trying-to-deploy-vm-from-vsphere-provider/72723>\
**Category:** Terraform\
**Tags:** vsphere\
**Created:** [January 21, 2025, 6:19pm UTC](https://discuss.hashicorp.com/t/customization-spec-error-while-trying-to-deploy-vm-from-vsphere-provider/72723 "2025-01-21T18:19:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sebsot](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/sebsot/32/43950_2.png) [@sebsot](https://discuss.hashicorp.com/u/sebsot)\
**Post date:** [January 21, 2025, 6:19pm UTC](https://discuss.hashicorp.com/t/customization-spec-error-while-trying-to-deploy-vm-from-vsphere-provider/72723/1 "2025-01-21T18:19:04Z")

</div>

Hi, im trying to deploy a VM from terraform using the vsphere provider and i keep getting this error:

Error: error sending customization spec: Customization of the guest operating system is not supported due to the given reason

I have the “error” on this part of the config file:

resource “vsphere\_virtual\_machine” “vm” {

name = “stmp2001lx”

resource\_pool\_id = data.vsphere\_compute\_cluster.cluster.resource\_pool\_id

datastore\_id = data.vsphere\_datastore.datastore.id

num\_cpus = 2

memory = 4096

guest\_id = “debian10\_64Guest”

network\_interface {

network\_id = data.vsphere\_network.network.id

adapter\_type = data.vsphere\_virtual\_machine.template.network\_interface\_types[0]

}

disk {

label = data.vsphere\_virtual\_machine.template.disks[0].label

size = data.vsphere\_virtual\_machine.template.disks[0].size

}

Im trying to building it from a template, which has Debian 12 as OS, it has a 6.5 Esxi Compatibility or more.

I have 3 hosts where 2 of them are Esxi 6.7 and the other one is 7.0.

I dont know what the problem is, i would really apreciate the help because im stucked here with no solution.

Thanks !

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/hashicorp/original/1X/79bf76adfd92a75631996933098f9ce29d37abf3.svg) [@system](https://discuss.hashicorp.com/u/system)\
**Post date:** [July 20, 2025, 6:19pm UTC](https://discuss.hashicorp.com/t/customization-spec-error-while-trying-to-deploy-vm-from-vsphere-provider/72723/2 "2025-07-20T18:19:32Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
