feat(id.tjo.space): changes
This commit is contained in:
parent
936f3d0c4c
commit
0bc4bdc5a0
2 changed files with 11 additions and 10 deletions
id.tjo.space
|
@ -48,4 +48,4 @@ cat <<EOF >/etc/caddy/env
|
|||
DOMAIN_NAME=${DOMAIN_NAME}
|
||||
EOF
|
||||
|
||||
systemctl enable --now caddy
|
||||
systemctl start caddy
|
||||
|
|
|
@ -65,12 +65,13 @@ resource "dnsimple_zone_record" "a" {
|
|||
ttl = 300
|
||||
}
|
||||
|
||||
resource "dnsimple_zone_record" "aaaa" {
|
||||
for_each = local.nodes
|
||||
|
||||
zone_name = "tjo.space"
|
||||
name = trimsuffix(each.value.meta.domain, ".tjo.space")
|
||||
value = hcloud_server.main[each.key].ipv6_address
|
||||
type = "AAAA"
|
||||
ttl = 300
|
||||
}
|
||||
# Podman is PITA!
|
||||
#resource "dnsimple_zone_record" "aaaa" {
|
||||
# for_each = local.nodes
|
||||
#
|
||||
# zone_name = "tjo.space"
|
||||
# name = trimsuffix(each.value.meta.domain, ".tjo.space")
|
||||
# value = hcloud_server.main[each.key].ipv6_address
|
||||
# type = "AAAA"
|
||||
# ttl = 300
|
||||
#}
|
||||
|
|
Loading…
Reference in a new issue