61 lines
1.2 KiB
HCL
61 lines
1.2 KiB
HCL
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"
|
|
}
|
|
|
|
provider "libvirt" {
|
|
alias = "jefke"
|
|
uri = "qemu+ssh://root@jefke.hyp/system"
|
|
}
|
|
|
|
provider "libvirt" {
|
|
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" {
|
|
source = "git::https://git.kun.is/home/tf-modules.git//debian"
|
|
name = "bancomart"
|
|
domain_name = "tf-bancomart"
|
|
memory = 10240
|
|
providers = {
|
|
libvirt = libvirt.jefke
|
|
}
|
|
}
|
|
|
|
module "handjecontantje" {
|
|
source = "git::https://git.kun.is/home/tf-modules.git//debian"
|
|
name = "handjecontantje"
|
|
domain_name = "tf-handjecontantje"
|
|
memory = 3 * 1024
|
|
providers = {
|
|
libvirt = libvirt.lewis
|
|
}
|
|
}
|