terraform { required_providers { libvirt = { source = "dmacvicar/libvirt" } } } module "invariants" { source = "git::https://git.pim.kunis.nl/home/tf-modules.git/invariants" } module "tf_debian_vm" { source = "git::https://git.pim.kunis.nl/pim/tf-debian-vm.git" name = var.name admin_authorized_keys = coalesce(var.admin_authorized_keys, module.invariants.admin_authorized_keys) insecure_password = coalesce(var.insecure_password, false) use_host_cert = coalesce(var.use_host_cert, true) disk_pool = coalesce(var.disk_pool, module.invariants.disk_pool) disk_base = coalesce(var.disk_base, module.invariants.disk_base) disk_base_pool = coalesce(var.disk_base_pool, module.invariants.disk_base_pool) 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) }