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.hyp/system"
module "debian" {
source = "git::https://git.pim.kunis.nl/home/tf-modules.git//debian"
name = "max"
domain_name = "tf-max"
memory = 1024 * 8
mac = "CA:FE:C0:FF:EE:03"
disk_size = 1024 * 1024 * 1024 * 30