Releases: Terraform-VMWare-Modules/terraform-vsphere-vm
Releases · Terraform-VMWare-Modules/terraform-vsphere-vm
Stable v3.8.0
ChangeLog
- Add three new properties to data_disk (disk_sharing, attach, and path)
These three new properties (along with the existing datastore_id, disk_mode and unit_number) are required to enable the ability to add shared disks created by a separate "vsphere_virtual_disk" resource.
Contributors
@damnsam
Stable v3.7.0
ChangeLog
- Ability to create VMs using the FQDN as the vm's name as seen in VMware
- Ability to create multiple instances using a starting number other than "1"
Contributors
@damnsam
Stable v3.6.0
ChangeLog
- Add new vmrpid variable to allow users to provide a resource pool id instead of a resource pool path.
Contributors
@lgatellier
Stable v3.5.0
Stable v3.4.1
Stable v3.4.0
ChangeLog
- Added disk_mode support
- Support template from Content Library
New Variables
variable "disk_mode" {
description = "The disk mode for the disk."
type = list(string)
default = []
}
variable "content_library" {
description = "Name of the content library where the OVF template is stored."
default = null
}
Contributors
@ptucholski
@sestegra
Stable v3.3.0
ChangeLog
- Added VM disk output
- Added CIDR support for network variable. If CIDR is present in the network address, ipv4subnetmask will be omitted.
- Inherited firmware/enable_disk_uuid/efi_secure_boot from the template with default values are now all null.
- Check if vmfolder exist. Before even if the folder didn't exist the plan would go through and apply would fail. Now plan will fail if the folder is defined and it doesn't exist.
New Variables
output "disk" {
description = "Disks of the deployed VM"
value = vsphere_virtual_machine.vm.*.disk
}
Contributors
@dstoffel
Stable v3.2.0
ChangeLog
- Added ability to set custom values for Disk, CPU and memory shares
- Simplified sanity test structure
New Variables
variable "io_reservation" {
description = "The I/O reservation (guarantee) that this disk has, in IOPS. The default is no reservation."
type = list(number)
default = []
}
variable "io_share_level" {
description = "The share allocation level for this disk. Can be one of low, normal, high, or custom. Default: normal."
type = list(string)
default = ["normal"]
}
variable "io_share_count" {
description = "The share count for this disk when the share level is custom."
type = list(number)
default = []
}
variable "cpu_share_level" {
description = "The allocation level for CPU resources. Can be one of high, low, normal, or custom. Default: custom."
type = string
default = "normal"
}
variable "cpu_share_count" {
description = "The number of CPU shares allocated to the virtual machine when the cpu_share_level is custom."
type = number
default = 4000
}
variable "memory_share_level" {
description = "The allocation level for memory resources. Can be one of high, low, normal, or custom"
type = string
default = "normal"
}
variable "memory_share_count" {
description = "(Optional) The number of memory shares allocated to the virtual machine when the memory_share_level is custom"
type = number
default = 81920
}
Contributors
@riccardo-salamanna
@Arman-Keyoumarsi
Stable v3.1.0
ChangeLog
- Unit number support
- Enables use of unit_number per data disk. scsi_controller_count formula modified to determine how many controllers are required based on the highest of data_disk_scsi_controller, var.scsi_controller, OR highest of (unit_number+1)/15 and rounded up using ceil(). so for the following unit_numbers they would equate to:
Unit# SCSI-ID formula-result
0 0:0 1
2 0:2 1
15 1:0 2
16 1:1 2
30 2:0 3
45 3:0 4
59 3:15 4
Contributors
@damnsam
Stable v3.0.0
ChangeLog
- Merged Windows and Linux customization under one resource
- Added VM format option and static VM deployment
- Added multiple examples
- renamed some of the variable names to reduce confusion
New Variables
variable "staticvmname" {
description = "Static name of the virtual machin. When this option is used VM can not scale out using instance variable. You can use for_each outside the module to deploy multiple static vms with different names"
default = null
}
variable "vmnameformat" {
description = "vmname format. default is set to 2 decimal with leading 0. example: %03d for 3 decimal with leading zero or %02dprod for additional suffix"
default = "%02d"
}
variable "dns_server_list" {
type = list(string)
default = null
}
variable "domain" {
description = "default VM domain for linux guest customization."
default = "Development.com"
}
Contributors
@sestegra
@Arman-Keyoumarsi