terraform {
backend "pg" {
schema_name = "shoarma"
}
required_providers {
libvirt = {
source = "dmacvicar/libvirt"
powerdns = {
source = "pan-net/powerdns"
version = "1.5.0"
provider "libvirt" {
uri = "qemu+ssh://root@atlas.hyp/system"
alias = "jefke"
uri = "qemu+ssh://root@jefke.hyp/system"
alias = "lewis"
uri = "qemu+ssh://root@lewis.hyp/system"
module "maestro" {
source = "git::https://git.kun.is/home/tf-modules.git//debian"
name = "maestro"
domain_name = "tf-maestro"
memory = 10240
mac = "CA:FE:C0:FF:EE:08"
providers = {
libvirt = libvirt
module "bancomart" {
name = "bancomart"
domain_name = "tf-bancomart"
libvirt = libvirt.jefke
module "handjecontantje" {
name = "handjecontantje"
domain_name = "tf-handjecontantje"
memory = 3 * 1024
libvirt = libvirt.lewis