This repository has been archived on 2023-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
max/main.tf
2023-04-13 17:21:48 +02:00

25 lines
561 B
HCL

terraform {
backend "pg" {
schema_name = "max"
conn_str = "postgres://terraform@10.42.0.1/terraform_state"
}
required_providers {
libvirt = {
source = "dmacvicar/libvirt"
}
}
}
provider "libvirt" {
uri = "qemu+ssh://root@atlas.lan/system"
}
module "tf-datatest" {
source = "git::https://git.pim.kunis.nl/home/tf-modules.git//debian"
name = "max"
domain_name = "tf-max"
data_disk = "/kvm/data/max-data"
memory = 1024 * 8
mac = "CA:FE:C0:FF:EE:03"
}