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}
|
DOMAIN_NAME=${DOMAIN_NAME}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
systemctl enable --now caddy
|
systemctl start caddy
|
||||||
|
|
|
@ -65,12 +65,13 @@ resource "dnsimple_zone_record" "a" {
|
||||||
ttl = 300
|
ttl = 300
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "dnsimple_zone_record" "aaaa" {
|
# Podman is PITA!
|
||||||
for_each = local.nodes
|
#resource "dnsimple_zone_record" "aaaa" {
|
||||||
|
# for_each = local.nodes
|
||||||
zone_name = "tjo.space"
|
#
|
||||||
name = trimsuffix(each.value.meta.domain, ".tjo.space")
|
# zone_name = "tjo.space"
|
||||||
value = hcloud_server.main[each.key].ipv6_address
|
# name = trimsuffix(each.value.meta.domain, ".tjo.space")
|
||||||
type = "AAAA"
|
# value = hcloud_server.main[each.key].ipv6_address
|
||||||
ttl = 300
|
# type = "AAAA"
|
||||||
}
|
# ttl = 300
|
||||||
|
#}
|
||||||
|
|
Loading…
Reference in a new issue