remove unused dns records

This commit is contained in:
Pim Kunis 2023-07-22 12:31:45 +02:00
parent 9a4a00c4e7
commit 5bb39c4491

View file

@ -7,23 +7,6 @@ provider "powerdns" {
api_key = data.external.secrets.result.powerdns_api_key api_key = data.external.secrets.result.powerdns_api_key
} }
resource "powerdns_record" "subdomain_pim" {
for_each = toset(["dav", "git", "meet", "rss", "latex", "md", "swarm", "traefik", "syncthing", "cloud", "pihole", "ntfy", "apprise", "uptime", "concourse"])
zone = "pim.kunis.nl."
name = "${each.key}.pim.kunis.nl."
type = "CNAME"
records = ["www.pim.kunis.nl."]
ttl = 60
}
resource "powerdns_record" "social_pim_kunis_nl_a" {
zone = "pim.kunis.nl."
name = "social.pim.kunis.nl."
type = "A"
records = ["84.245.14.149"]
ttl = 60
}
resource "powerdns_record" "kms_geokunis2_nl_a" { resource "powerdns_record" "kms_geokunis2_nl_a" {
zone = "geokunis2.nl." zone = "geokunis2.nl."
name = "kms.geokunis2.nl." name = "kms.geokunis2.nl."