# Terraform customization error

**URL:** <https://discuss.hashicorp.com/t/terraform-customization-error/72761>\
**Category:** Terraform\
**Created:** [January 22, 2025, 7:32pm UTC](https://discuss.hashicorp.com/t/terraform-customization-error/72761 "2025-01-22T19:32:18Z")\
**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 22, 2025, 7:32pm UTC](https://discuss.hashicorp.com/t/terraform-customization-error/72761/1 "2025-01-22T19:32:19Z")

</div>

Hi, im currently trying to deploy VM’s with Vcenter using terraform, and i have this problem that i was able to get the log:

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

2025-01-22T15:03:51.460-0300 [ERROR] provider.terraform-provider-vsphere\_v2.10.0\_x5: Response contains error diagnostic: tf\_resource\_type=vsphere\_virtual\_machine tf\_rpc=ApplyResourceChange @caller=[github.com/hashicorp/terraform-plugin-go@v0.23.0/tfprotov5/internal/diag/diagnostics.go:58](http://github.com/hashicorp/terraform-plugin-go@v0.23.0/tfprotov5/internal/diag/diagnostics.go:58) @module=sdk.proto diagnostic\_detail=“” tf\_proto\_version=5.6 diagnostic\_severity=ERROR diagnostic\_summary="error sending customization spec: Customization of the guest operating system is not supported due to the given reason: " tf\_provider\_addr=provider tf\_req\_id=55d98978-666f-755b-b7f3-8974f8a2f08e timestamp=2025-01-22T15:03:51.460-0300  
2025-01-22T15:03:51.466-0300 [DEBUG] State storage \*statemgr.Filesystem declined to persist a state snapshot  
2025-01-22T15:03:51.466-0300 [ERROR] vertex “vsphere\_virtual\_machine.vm” error: error sending customization spec: Customization of the guest operating system is not supported due to the given reason:

The error comes when i try to do an apply with customization:

customize {  
linux\_options {  
host\_name = “server”  
domain = “[domain.com](http://domain.com)”  
}  
network\_interface {  
ipv4\_address = “0.0.0.0”  
ipv4\_netmask = 24  
}  
ipv4\_gateway = “0.0.0.1”  
dns\_server\_list = [“0.0.0.2”, “0.0.0.3”]  
}  
The IP’S are examples.

I have 2 Esxi, one is version 7.0 and the other one is version 6.7. I have terraform 1.10.4 and vmware tools installed on the template im using to clone the VM’s. I have Debian 12 as a OS, but the template recognises it as Debian 10.

I would really appreciate the help.

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 21, 2025, 7:33pm UTC](https://discuss.hashicorp.com/t/terraform-customization-error/72761/2 "2025-07-21T19:33:14Z")

</div>

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