# SPDX-FileCopyrightText: 2023 Aravinth Manivannan # # SPDX-License-Identifier: AGPL-3.0-or-later /* main.tf */ variable "libvirt_uri" { description = "URI of libvert socket" type = string default = "qemu:///system" } variable "libvirt_pool_path" { description = "Path of libvirt storage pool" type = string default = "/home/atm/code/libvirt/pool/mcaptcha_basic" } variable "libvirt_debian_src" { description = "Location of Debian 11 qcow2 image" type = string default = "/home/atm/disk-images/debian/12/clould/debian-12-generic-amd64.qcow2" } /* mcaptcha/mcaptcha server server */ variable "mcaptcha_vm_count" { description = "Number of VMs to be deployed to run mcaptcha/mcaptcha" type = number default = 1 } variable "mcaptcha_vm_disk_size" { description = "Size of disk of VMs running mcaptcha/mcaptcha in bytes" type = number default = 8000000000 # 8GB } variable "mcaptcha_vm_memory" { description = "Memory of VMs running mcaptcha/mcaptcha in MB" type = number default = 2000 # 2GB } variable "mcaptcha_vm_vcpu" { description = "Number of CPUs of VMs running mcaptcha/mcaptcha" type = number default = 4 }