infrastructure/terraform/jakehoward.tech.tf

346 lines
8.1 KiB
Terraform
Raw Normal View History

2024-09-01 22:27:24 +01:00
resource "gandi_livedns_domain" "jakehowardtech" {
name = "jakehoward.tech"
}
resource "gandi_livedns_record" "jakehowardtech_mx" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "@"
type = "MX"
ttl = 3600
values = [
2024-09-22 15:27:05 +01:00
"10 in1-smtp.messagingengine.com.",
"20 in2-smtp.messagingengine.com.",
]
}
resource "gandi_livedns_record" "jakehowardtech_spf" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "@"
type = "TXT"
ttl = 3600
values = [
"\"v=spf1 include:spf.messagingengine.com -all\""
]
}
resource "gandi_livedns_record" "jakehowardtech_dkim_fm1" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "fm1._domainkey"
type = "CNAME"
ttl = 3600
values = [
2024-09-22 15:27:05 +01:00
"fm1.jakehoward.tech.dkim.fmhosted.com."
]
}
resource "gandi_livedns_record" "jakehowardtech_dkim_fm2" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "fm2._domainkey"
type = "CNAME"
ttl = 3600
values = [
2024-09-22 15:27:05 +01:00
"fm2.jakehoward.tech.dkim.fmhosted.com."
]
}
resource "gandi_livedns_record" "jakehowardtech_dkim_fm3" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "fm3._domainkey"
type = "CNAME"
ttl = 3600
values = [
2024-09-22 15:27:05 +01:00
"fm3.jakehoward.tech.dkim.fmhosted.com."
]
}
resource "gandi_livedns_record" "jakehowardtech_dmarc" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "_dmarc"
type = "TXT"
ttl = 3600
values = [
"\"v=DMARC1; p=quarantine; ruf=mailto:dmarc-report@jakehoward.tech;\""
]
}
2024-09-14 22:00:24 +01:00
resource "gandi_livedns_record" "jakehowardtech_wallabag" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "wallabag"
type = "CNAME"
ttl = 3600
values = [
2024-09-22 15:27:05 +01:00
"${gandi_livedns_record.sys_domain_pve.href}."
2024-09-14 22:00:24 +01:00
]
}
2024-09-01 22:27:24 +01:00
2024-09-14 22:00:24 +01:00
resource "gandi_livedns_record" "jakehowardtech_ttrss" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "tt-rss"
type = "CNAME"
ttl = 3600
values = [
2024-09-22 15:27:05 +01:00
"${gandi_livedns_record.sys_domain_pve.href}."
2024-09-14 22:00:24 +01:00
]
}
2024-09-14 22:00:24 +01:00
resource "gandi_livedns_record" "jakehowardtech_speed" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "speed"
type = "CNAME"
ttl = 3600
values = [
2024-09-22 15:27:05 +01:00
"${gandi_livedns_record.sys_domain_pve.href}."
2024-09-14 22:00:24 +01:00
]
}
2024-09-14 22:00:24 +01:00
resource "gandi_livedns_record" "jakehowardtech_quassel" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "quassel"
type = "CNAME"
ttl = 3600
values = [
2024-09-22 15:27:05 +01:00
"${gandi_livedns_record.sys_domain_pve.href}."
2024-09-14 22:00:24 +01:00
]
}
2024-09-14 22:00:24 +01:00
resource "gandi_livedns_record" "jakehowardtech_media" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "media"
type = "CNAME"
ttl = 3600
values = [
2024-09-22 15:27:05 +01:00
"${gandi_livedns_record.sys_domain_pve.href}."
2024-09-14 22:00:24 +01:00
]
}
2024-09-14 22:00:24 +01:00
resource "gandi_livedns_record" "jakehowardtech_matrix" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "matrix"
type = "CNAME"
ttl = 3600
values = [
2024-09-22 15:27:05 +01:00
"${gandi_livedns_record.sys_domain_pve.href}."
2024-09-14 22:00:24 +01:00
]
}
2024-09-14 22:00:24 +01:00
resource "gandi_livedns_record" "jakehowardtech_intersect" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "intersect"
type = "CNAME"
ttl = 3600
values = [
2024-09-22 15:27:05 +01:00
"${gandi_livedns_record.sys_domain_pve.href}."
2024-09-14 22:00:24 +01:00
]
}
2024-09-14 22:00:24 +01:00
resource "gandi_livedns_record" "jakehowardtech_calibre" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "calibre"
type = "CNAME"
ttl = 3600
values = [
2024-09-22 15:27:05 +01:00
"${gandi_livedns_record.sys_domain_pve.href}."
2024-09-14 22:00:24 +01:00
]
}
2024-09-14 22:00:24 +01:00
resource "gandi_livedns_record" "jakehowardtech_homeassistant" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "homeassistant"
type = "CNAME"
ttl = 3600
values = [
2024-09-22 15:27:05 +01:00
"${gandi_livedns_record.sys_domain_pve_private.href}."
2024-09-14 22:00:24 +01:00
]
2022-09-22 21:12:41 +01:00
}
2024-09-14 22:00:24 +01:00
resource "gandi_livedns_record" "jakehowardtech_grafana" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "grafana"
type = "CNAME"
ttl = 3600
values = [
2024-09-22 15:27:05 +01:00
"${gandi_livedns_record.sys_domain_pve.href}."
2024-09-14 22:00:24 +01:00
]
}
2024-09-14 22:00:24 +01:00
resource "gandi_livedns_record" "jakehowardtech_vaultwarden" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "vaultwarden"
type = "CNAME"
ttl = 3600
values = [
2024-09-22 15:27:05 +01:00
"${gandi_livedns_record.sys_domain_pve_private.href}."
2024-09-14 22:00:24 +01:00
]
}
2024-09-14 22:00:24 +01:00
resource "gandi_livedns_record" "jakehowardtech_recipes" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "recipes"
type = "CNAME"
ttl = 3600
values = [
2024-09-22 15:27:05 +01:00
"${gandi_livedns_record.sys_domain_pve.href}."
2024-09-14 22:00:24 +01:00
]
}
2024-09-14 22:00:24 +01:00
resource "gandi_livedns_record" "jakehowardtech_mailgun_spf" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "mg"
type = "TXT"
ttl = 3600
values = [
"\"v=spf1 include:mailgun.org -all\""
]
}
2024-09-14 22:00:24 +01:00
resource "gandi_livedns_record" "jakehowardtech_mailgun_dkim" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "s1._domainkey.mg"
type = "TXT"
ttl = 3600
values = [
"\"k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4E4cv86U+sFUjgLys26ZLccTghzGfHiFpitWdFg68lGXG63aoG2/+9bgKVT0ZBG7bjPvj6Kyj4N3TIe4oCJo2saVvtsNK1pvZkOadaBPgjzKeRvBaw48ZatUGKoV7q1NCa0kXAfiJleF7bMvbt8rYDmBljr/BG6TtZYPt6XgoZyh8HHXjv/1L6WT3JBVQ8q5UtqVRVujXNHf57FmJTOJpvs0bKn/6TUaXYZmt5z3jpDhc/HfmkzVV22AwRf9jn7kgKkgaKpkvfSL8gtYNn5oyfS0Y9W9x9ntqb4g72RCbynMppQb1uwxbIuWRVOp0un0koQDm3C8ZzhOOYAwe58BYQIDAQAB\""
]
}
2024-09-14 22:00:24 +01:00
resource "gandi_livedns_record" "jakehowardtech_mailgun_dmarc" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "_dmarc.mg"
type = "TXT"
ttl = 3600
values = [
"\"v=DMARC1; p=quarantine; ruf=mailto:dmarc-report@jakehoward.tech;\""
]
}
2024-09-14 22:00:24 +01:00
resource "gandi_livedns_record" "jakehowardtech_synapse_admin" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "synapse-admin"
type = "CNAME"
ttl = 3600
values = [
2024-09-22 15:27:05 +01:00
"${gandi_livedns_record.sys_domain_pve.href}."
2024-09-14 22:00:24 +01:00
]
}
2024-09-14 22:00:24 +01:00
resource "gandi_livedns_record" "jakehowardtech_apex" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "@"
type = "ALIAS"
ttl = 3600
values = [
2024-09-22 15:27:05 +01:00
"${gandi_livedns_record.sys_domain_walker.href}."
2024-09-14 22:00:24 +01:00
]
}
2020-06-27 16:16:52 +01:00
2024-09-14 22:00:24 +01:00
resource "gandi_livedns_record" "jakehowardtech_collabora" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "collabora"
type = "CNAME"
ttl = 3600
values = [
2024-09-22 15:27:05 +01:00
"${gandi_livedns_record.sys_domain_pve.href}."
2024-09-14 22:00:24 +01:00
]
2020-06-27 16:16:52 +01:00
}
2024-09-14 22:00:24 +01:00
resource "gandi_livedns_record" "jakehowardtech_tasks" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "tasks"
type = "CNAME"
ttl = 3600
values = [
2024-09-22 15:27:05 +01:00
"${gandi_livedns_record.sys_domain_pve.href}."
2024-09-14 22:00:24 +01:00
]
2020-08-07 12:03:45 +01:00
}
2021-03-21 21:03:47 +00:00
2024-09-14 22:00:24 +01:00
resource "gandi_livedns_record" "jakehowardtech_auth" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "auth"
type = "CNAME"
ttl = 3600
values = [
2024-09-22 15:27:05 +01:00
"${gandi_livedns_record.sys_domain_pve.href}."
2024-09-14 22:00:24 +01:00
]
}
2022-08-24 22:17:29 +01:00
2024-09-14 22:00:24 +01:00
resource "gandi_livedns_record" "jakehowardtech_minio" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "minio"
type = "CNAME"
ttl = 3600
values = [
2024-09-22 15:27:05 +01:00
"${gandi_livedns_record.sys_domain_pve.href}."
2024-09-14 22:00:24 +01:00
]
2022-08-24 22:17:29 +01:00
}
2024-09-14 22:00:24 +01:00
resource "gandi_livedns_record" "jakehowardtech_s3" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "s3"
type = "CNAME"
ttl = 3600
values = [
2024-09-22 15:27:05 +01:00
"${gandi_livedns_record.sys_domain_pve.href}."
2024-09-14 22:00:24 +01:00
]
}
resource "gandi_livedns_record" "jakehowardtech_ntfy" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "ntfy"
type = "CNAME"
ttl = 3600
values = [
2024-09-22 15:27:05 +01:00
"${gandi_livedns_record.sys_domain_pve.href}."
2024-09-14 22:00:24 +01:00
]
2022-09-22 21:22:05 +01:00
}
2024-09-14 22:00:24 +01:00
resource "gandi_livedns_record" "jakehowardtech_headscale" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "headscale"
type = "CNAME"
ttl = 3600
values = [
2024-09-22 15:27:05 +01:00
"${gandi_livedns_record.sys_domain_casey.href}."
2024-09-14 22:00:24 +01:00
]
2022-09-22 21:22:05 +01:00
}
2022-09-22 21:29:21 +01:00
2024-09-14 22:00:24 +01:00
resource "gandi_livedns_record" "jakehowardtech_slides" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "slides"
type = "CNAME"
ttl = 3600
values = [
2024-09-22 15:27:05 +01:00
"${gandi_livedns_record.sys_domain_walker.href}."
2024-09-14 22:00:24 +01:00
]
}
resource "gandi_livedns_record" "jakehowardtech_uptime" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "uptime"
type = "CNAME"
ttl = 3600
values = [
2024-09-22 15:27:05 +01:00
"${gandi_livedns_record.sys_domain_pve.href}."
2024-09-14 22:00:24 +01:00
]
}
2024-11-25 20:02:36 +00:00
resource "gandi_livedns_record" "jakehowardtech_baby-buddy" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "baby-buddy"
type = "CNAME"
ttl = 3600
values = [
"${gandi_livedns_record.sys_domain_pve_private.href}."
]
}
2024-09-14 22:00:24 +01:00
resource "gandi_livedns_record" "jakehowardtech_caa" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "@"
type = "CAA"
ttl = 3600
values = [
"0 issue \"letsencrypt.org\"",
"0 wildissue \"letsencrypt.org\"",
]
2023-05-07 18:11:23 +01:00
}