Vm
jxinging/Vm/Vsphere
Terraform vSphere module for provisioning Virtual Machines
Terraform vSphere Module !Terraform Version    For Virtual Machine Provisioning with (Linux/Windows) customization. Based on Terraform v0.13 and up, this module includes most of the advanced features available in resource vsphere_virtual_machine. Deploys (Single/Multiple) Virtual Machines to your vSphere environment This Terraform module deploys single or multiple virtual machines of type (Linux/Windows) with the following features: - Ability to specify Linux or Windows VM customization. - Ability to add multiple network cards for the VM - Ability to assign tags and custom variables. - Abilit
| Name | Type | Description | Default |
|---|---|---|---|
| nested_hv_enabled | bool | Enable nested hardware virtualization on this virtual machine, facilitating nest | required |
| enable_logging | bool | Enable logging of virtual machine events to a log file stored in the virtual mac | required |
| scsi_bus_sharing | string | scsi_bus_sharing mode, acceptable values physicalSharing,virtualSharing,noSharin | required |
| staticvmname | string | Static name of the virtual machin. When this option is used VM can not scale out | required |
| cpu_reservation | string | The amount of CPU (in MHz) that this virtual machine is guaranteed. | required |
| vmgateway | string | VM gateway to set during provisioning. | required |
| dns_suffix_list | list(string) | A list of DNS search domains to add to the DNS configuration on the virtual mach | required |
| vm_depends_on | any | Add any external depend on module here like vm_depends_on = [module.fw_core01.fi | required |
| custom_attributes | map(any) | Map of custom attribute ids to attribute value strings to set for virtual machin | required |
| windomain | string | The domain to join for this virtual machine. One of this or workgroup must be in | required |
| auto_logon_count | string | Specifies how many times the VM should auto-logon the Administrator account when | required |
| time_zone | string | The new time zone for the virtual machine. This is a numeric, sysprep-dictated, | required |
| latency_sensitivity | string | Controls the scheduling delay of the virtual machine. Use a higher sensitivity f | required |
| tags | map(any) | The names of any tags to attach to this resource. They must already exist. | required |
| run_once | list(string) | List of Comamnd to run during first logon (Automatic login set to 1). | required |
| vmrp | string | Cluster resource pool that VM will be deployed to. you use following to choose d | required |
| dns_server_list | list(string) | required | |
| cpu_performance_counters_enabled | bool | Enable CPU performance counters on this virtual machine. | required |
| cpu_hot_add_enabled | bool | Allow CPUs to be added to this virtual machine while it is running. | required |
| auto_logon | bool | Specifies whether or not the VM automatically logs on as Administrator. Default | required |
| network | map(list(string)) | Define PortGroup and IPs/CIDR for each VM. If no CIDR provided, the subnet mask | {} |
| scsi_type | string | scsi_controller type, acceptable values lsilogic,pvscsi. | "" |
| vmnameformat | string | vmname format. default is set to 2 decimal with leading 0. example: %03d for 3 d | "%02d" |
| cpu_share_count | number | The number of CPU shares allocated to the virtual machine when the cpu_share_lev | 4000 |
| io_share_count | list(number) | The share count for this disk when the share level is custom. | [] |
| template_storage_policy_id | list(any) | List of UUIDs of the storage policy to assign to the template disk. | [] |
| scsi_controller | number | scsi_controller number for the main OS disk. | 0 |
| instances | number | number of instances you want deploy from the template. | 1 |
| is_windows_image | bool | Boolean flag to notify when the custom image is windows based. | false |
| io_reservation | list(number) | The I/O reservation (guarantee) that this disk has, in IOPS. The default is no r | [] |
| disk_mode | list(string) | The disk mode for the disk. | [] |
| disk_datastore | string | Define where the OS disk should be stored. | "" |
| ipv4submask | list(any) | ipv4 Subnet mask. Warning: The order must follow the alphabetic order from var.n | [
"24"
] |
| ram_size | number | VM RAM size in megabytes. | 4096 |
| timeout | number | The timeout, in minutes, to wait for the virtual machine clone to complete. | 30 |
| … and 10 more inputs | |||
VM — VM Namesip — default ip address of the deployed VMguest-ip — all the registered ip address of the VMuuid — UUID of the VM in vSpheredisk — Disks of the deployed VMDC_ID — id of vSphere DatacenterResPool_ID — Resource Pool id