parameterize memory

This commit is contained in:
Pim Kunis 2023-04-07 14:34:25 +02:00
parent bdfbdeef14
commit 09a3a61f5f
3 changed files with 42 additions and 0 deletions

1
debian/main.tf vendored
View file

@ -22,4 +22,5 @@ module "tf_debian_vm" {
cloudinit_pool = coalesce(var.cloudinit_pool, module.invariants.cloudinit_pool)
bridge_name = coalesce(var.bridge_name, module.invariants.bridge_name)
ca_host = coalesce(var.ca_host, module.invariants.ca_host)
memory = coalesce(var.memory, 1024)
}

5
debian/variables.tf vendored
View file

@ -46,3 +46,8 @@ variable "ca_host" {
type = string
default = null
}
variable "memory" {
type = number
default = null
}