Skip to content

Releases: Terraform-VMWare-Modules/terraform-vsphere-vm

Stable v2.3.0

08 Apr 19:18
3f068f6
Compare
Choose a tag to compare

ChangeLog

  • Support disk storage policy
    • Add at template level using template_storage_policy_id Variable
    • Add at New Data Disk level using data_disk variable map and storage_policy_id
      New Variables
variable "template_storage_policy_id" {
  description = "List of UUIDs of the storage policy to assign to the template disk."
  type        = list(any)
  default     = []
}

Contributors
@sestegra

Stable v2.2.0

22 Mar 09:32
5f9ae54
Compare
Choose a tag to compare

ChangeLog

  • Update docs from ds_cluster to datastore_cluster
  • add support for efi secure boot
    New Variables
variable "efi_secure_boot" {
  description = "Enables EFI secure boot. Can be only be true when firmware is EFI."
  default     = "false"
}

Contributors
@impicklejon
@rdbartram

Stable v2.1.0

13 Dec 10:43
ea39d22
Compare
Choose a tag to compare

ChangeLog

  • Tested compatibility with Terraform 0.14.2
  • Added storage_policy_id option

New Variables

variable "storage_policy_id" {
  description = "(Optional) The UUID of the storage policy to assign to VM home directory."
  default     = null
}

Stable v2.0.0

14 Nov 18:04
1482768
Compare
Choose a tag to compare

ChangeLog

This Release breaks backward compatibility with older version, due to variable changes.

  • Unified Network Variable using map.
  • Unified Data_Disk variable using map.

New Variables

variable "network" {
  description = "Define PortGroup and IPs for each VM"
  type        = map(list(string))
  default     = {}
}
variable "data_disk" {
  description = "Storage data disk parameter, example"
  type        = map(map(string))
  default     = {}
}

Stable v1.7.0

19 Oct 06:14
455275a
Compare
Choose a tag to compare

ChangeLog

  • Added possibility to overwrite a templates disk size
  • Updated examples on how to modify the templates disk size

New Variables:

variable "disk_size_gb" {
  description = "List of disk sizes to override template disk size."
  type = list
  default = null
}

Contributors:

@LennertMertens

Stable v1.6.0

12 Sep 20:18
0722e0b
Compare
Choose a tag to compare

ChangeLog

  • Added Advanced Variables for VM

New Variables:

variable "hv_mode" {
  description = "The (non-nested) hardware virtualization setting for this virtual machine. Can be one of hvAuto, hvOn, or hvOff."
  type        = string
  default     = null
}

variable "ept_rvi_mode" {
  description = "The EPT/RVI (hardware memory virtualization) setting for this virtual machine."
  type        = string
  default     = null
}

variable "nested_hv_enabled" {
  description = "Enable nested hardware virtualization on this virtual machine, facilitating nested virtualization in the guest."
  type        = bool
  default     = null
}

variable "enable_logging" {
  description = "Enable logging of virtual machine events to a log file stored in the virtual machine directory."
  type        = bool
  default     = null
}

variable "cpu_performance_counters_enabled" {
  description = "Enable CPU performance counters on this virtual machine."
  type        = bool
  default     = null
}

variable "swap_placement_policy" {
  description = "The swap file placement policy for this virtual machine. Can be one of inherit, hostLocal, or vmDirectory."
  type        = string
  default     = null
}

variable "latency_sensitivity" {
  description = "Controls the scheduling delay of the virtual machine. Use a higher sensitivity for applications that require lower latency, such as VOIP, media player applications, or applications that require frequent access to mouse or keyboard devices.Can be one of low, normal, medium, or high."
  type        = string
  default     = null
}

variable "shutdown_wait_timeout" {
  description = "The amount of time, in minutes, to wait for a graceful guest shutdown when making necessary updates to the virtual machine. If force_power_off is set to true, the VM will be force powered-off after this timeout, otherwise an error is returned."
  type        = string
  default     = null
}

variable "migrate_wait_timeout" {
  description = "The amount of time, in minutes, to wait for a graceful guest shutdown when making necessary updates to the virtual machine. If force_power_off is set to true, the VM will be force powered-off after this timeout, otherwise an error is returned."
  type        = string
  default     = null
}

variable "force_power_off" {
  description = "If a guest shutdown failed or timed out while updating or destroying (see shutdown_wait_timeout), force the power-off of the virtual machine."
  type        = bool
  default     = null
} 

Contributors:

@LennertMertens

Stable v1.5.0

04 Sep 12:48
321fcf8
Compare
Choose a tag to compare

ChangeLog

  • Defined variables with an implicit type = bool
  • Updated README

Contributors:
@LennertMertens
@bcorner13

Stable v1.4.0

20 Jul 17:02
5dc846f
Compare
Choose a tag to compare

ChangeLog

  • Add cpu, mem reservations
  • scsi bus sharing parameter
  • Ability to define depend on separately for tag using variable tag_depends_on

New Variables:

variable "tag_ids" {
  description = "The ids of any tags to attach to this resource. They must already exist."
  type        = list
  default     = null
}
variable "tag_depends_on" {
  description = "Add any external depend on module here like tag_depends_on = [vsphere_tag.foo.id]"
  type        = any
  default     = null
}
variable "scsi_bus_sharing" {
  description = "scsi_bus_sharing mode, acceptable values physicalSharing,virtualSharing,noSharing"
  type        = string
  default     = null
}
variable "memory_reservation" {
  description = "The amount of memory (in MB) that this virtual machine is guaranteed."
  default     = null
}
variable "cpu_reservation" {
  description = "The amount of CPU (in MHz) that this virtual machine is guaranteed."
  default     = null
}

Stable v1.3.1

07 Jul 16:20
406d8c3
Compare
Choose a tag to compare

ChangeLog

Bug Fixes

Stable v1.3.0

23 Jun 10:20
df7bebd
Compare
Choose a tag to compare

ChangeLog

Ability to define depend on using variable vm_depends_on

New Variables:

variable "vm_depends_on" {
  description = "Add any external depend on module here like vm_depends_on = [module.fw_core01.firewall]"
  type        = any
  default     = null
}

Contributors:

@Arman-Keyoumarsi