Stable v3.2.0
Arman-Keyoumarsi
released this
06 Jul 18:30
·
33 commits
to master
since this release
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