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.
shoarma/terraform/main.tf

62 lines
1.2 KiB
Terraform
Raw Normal View History

2023-05-02 09:51:22 +00:00
terraform {
backend "pg" {
schema_name = "shoarma"
}
required_providers {
libvirt = {
source = "dmacvicar/libvirt"
}
2023-05-31 19:03:43 +00:00
powerdns = {
source = "pan-net/powerdns"
version = "1.5.0"
}
2023-05-02 09:51:22 +00:00
}
}
provider "libvirt" {
uri = "qemu+ssh://root@atlas.hyp/system"
}
2023-05-04 10:29:29 +00:00
provider "libvirt" {
alias = "jefke"
uri = "qemu+ssh://root@jefke.hyp/system"
}
2023-08-01 14:22:24 +00:00
provider "libvirt" {
alias = "lewis"
uri = "qemu+ssh://root@lewis.hyp/system"
}
2023-07-22 10:06:49 +00:00
module "maestro" {
2023-07-22 10:24:27 +00:00
source = "git::https://git.kun.is/home/tf-modules.git//debian"
2023-07-22 10:06:49 +00:00
name = "maestro"
domain_name = "tf-maestro"
2023-07-22 10:24:27 +00:00
memory = 10240
2023-07-22 10:06:49 +00:00
mac = "CA:FE:C0:FF:EE:08"
2023-05-04 10:29:29 +00:00
providers = {
libvirt = libvirt
}
}
2023-07-22 10:06:49 +00:00
module "bancomart" {
2023-07-22 10:24:27 +00:00
source = "git::https://git.kun.is/home/tf-modules.git//debian"
2023-07-22 10:06:49 +00:00
name = "bancomart"
domain_name = "tf-bancomart"
2023-07-22 10:24:27 +00:00
memory = 10240
2023-05-04 10:29:29 +00:00
providers = {
libvirt = libvirt.jefke
}
}
2023-08-01 14:22:24 +00:00
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
}
}