This repository has been archived on 2023-12-26. You can view files and clone it, but cannot push or open issues or pull requests.
thecloud/terraform/main.tf
2023-07-05 23:50:34 +02:00

25 lines
517 B
HCL

terraform {
backend "pg" {
schema_name = "thecloud"
}
required_providers {
libvirt = {
source = "dmacvicar/libvirt"
}
}
}
provider "libvirt" {
uri = "qemu+ssh://root@lewis.hyp/system"
}
module "thecloud" {
source = "git::https://git.kun.is/home/tf-modules.git//debian"
name = "thecloud"
domain_name = "tf-thecloud"
hypervisor_host = "lewis.hyp"
mac = "CA:FE:C0:FF:EE:0A"
data_share = ""
data_disk = "/kvm/data/nfs-data"
}