parameterize memory
This commit is contained in:
parent
bdfbdeef14
commit
09a3a61f5f
3 changed files with 42 additions and 0 deletions
1
debian/main.tf
vendored
1
debian/main.tf
vendored
|
@ -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
5
debian/variables.tf
vendored
|
@ -46,3 +46,8 @@ variable "ca_host" {
|
|||
type = string
|
||||
default = null
|
||||
}
|
||||
|
||||
variable "memory" {
|
||||
type = number
|
||||
default = null
|
||||
}
|
||||
|
|
Reference in a new issue