add nix flake for dev env
rename handjecontantje to vpay disable fluentd logging
This commit is contained in:
parent
c7ddefaa3d
commit
1acb61716e
10 changed files with 101 additions and 25 deletions
|
@ -1,5 +1,5 @@
|
|||
data "external" "secrets" {
|
||||
program = ["cat", pathexpand("~/.tfvars.json")]
|
||||
program = ["cat", pathexpand("~/.config/home/powerdns-api-key.json")]
|
||||
}
|
||||
|
||||
provider "powerdns" {
|
||||
|
@ -77,4 +77,4 @@ resource "powerdns_record" "smtp2go_3_geokunis2_nl_cname" {
|
|||
type = "CNAME"
|
||||
records = ["track.smtp2go.net."]
|
||||
ttl = 60
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,7 @@ terraform {
|
|||
required_providers {
|
||||
libvirt = {
|
||||
source = "dmacvicar/libvirt"
|
||||
version = "0.7.1" # https://github.com/dmacvicar/terraform-provider-libvirt/issues/1040
|
||||
}
|
||||
|
||||
powerdns = {
|
||||
|
@ -16,17 +17,18 @@ terraform {
|
|||
}
|
||||
|
||||
provider "libvirt" {
|
||||
uri = "qemu+ssh://root@atlas.hyp/system"
|
||||
# https://libvirt.org/uri.html#libssh-and-libssh2-transport
|
||||
uri = "qemu+ssh://root@atlas.hyp/system?known_hosts=/etc/ssh/ssh_known_hosts"
|
||||
}
|
||||
|
||||
provider "libvirt" {
|
||||
alias = "jefke"
|
||||
uri = "qemu+ssh://root@jefke.hyp/system"
|
||||
uri = "qemu+ssh://root@jefke.hyp/system?known_hosts=/etc/ssh/ssh_known_hosts"
|
||||
}
|
||||
|
||||
provider "libvirt" {
|
||||
alias = "lewis"
|
||||
uri = "qemu+ssh://root@lewis.hyp/system"
|
||||
uri = "qemu+ssh://root@lewis.hyp/system?known_hosts=/etc/ssh/ssh_known_hosts"
|
||||
}
|
||||
|
||||
module "maestro" {
|
||||
|
@ -50,10 +52,10 @@ module "bancomart" {
|
|||
}
|
||||
}
|
||||
|
||||
module "handjecontantje" {
|
||||
module "vpay" {
|
||||
source = "git::https://git.kun.is/home/tf-modules.git//debian"
|
||||
name = "handjecontantje"
|
||||
domain_name = "tf-handjecontantje"
|
||||
name = "vpay"
|
||||
domain_name = "tf-vpay"
|
||||
memory = 3 * 1024
|
||||
providers = {
|
||||
libvirt = libvirt.lewis
|
||||
|
|
Reference in a new issue