Initial commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
variable "cpus" {
|
||||
description = "The number of CPU cores allocated to each virtual machine."
|
||||
type = number
|
||||
default = 2
|
||||
nullable = false
|
||||
|
||||
validation {
|
||||
condition = var.cpus >= 1
|
||||
error_message = "Allocated CPUs must be equal to or greater than 1."
|
||||
}
|
||||
}
|
||||
|
||||
variable "memory" {
|
||||
description = "The amount of memory allocated to each virtual machine."
|
||||
type = string
|
||||
default = "4GiB"
|
||||
nullable = false
|
||||
}
|
||||
Reference in New Issue
Block a user