infrastructure/terraform/theorangeone.net.tf

271 lines
7.3 KiB
Terraform
Raw Normal View History

2020-02-22 20:22:28 +00:00
resource "cloudflare_zone" "theorangeonenet" {
zone = "theorangeone.net"
}
resource "cloudflare_record" "theorangeonenet_git" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "git"
2022-01-21 21:52:21 +00:00
value = linode_instance.casey.ip_address
type = "A"
ttl = 1
}
2022-02-25 21:48:13 +00:00
resource "cloudflare_record" "theorangeonenet_git_registry" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "registry.git"
value = cloudflare_record.theorangeonenet_git.hostname
type = "CNAME"
ttl = 1
}
resource "cloudflare_record" "theorangeonenet_whoami" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "whoami"
2022-01-21 21:52:21 +00:00
value = linode_instance.casey.ip_address
type = "A"
ttl = 1
}
resource "cloudflare_record" "theorangeonenet_mx1" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "@"
value = "in1-smtp.messagingengine.com"
type = "MX"
priority = 10
ttl = 1
}
resource "cloudflare_record" "theorangeonenet_mx2" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "@"
value = "in2-smtp.messagingengine.com"
type = "MX"
priority = 20
ttl = 1
}
resource "cloudflare_record" "theorangeonenet_spf" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "@"
value = "v=spf1 include:spf.messagingengine.com -all"
type = "TXT"
ttl = 1
}
resource "cloudflare_record" "theorangeonenet_dkim_fm1" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "fm1._domainkey"
value = "fm1.theorangeone.net.dkim.fmhosted.com"
type = "CNAME"
ttl = 1
}
resource "cloudflare_record" "theorangeonenet_dkim_fm2" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "fm2._domainkey"
value = "fm2.theorangeone.net.dkim.fmhosted.com"
type = "CNAME"
ttl = 1
}
resource "cloudflare_record" "theorangeonenet_dkim_fm3" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "fm3._domainkey"
value = "fm3.theorangeone.net.dkim.fmhosted.com"
type = "CNAME"
ttl = 1
}
2020-03-20 21:38:18 +00:00
2022-09-22 21:12:41 +01:00
resource "cloudflare_record" "theorangeonenet_dmarc" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "_dmarc"
value = "v=DMARC1; pct=100; p=quarantine; rua=mailto:dmarc-report@jakehoward.tech;"
2022-09-22 21:12:41 +01:00
type = "TXT"
ttl = 1
}
2020-03-20 21:38:18 +00:00
resource "cloudflare_record" "theorangeonenet_apex" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "@"
2021-05-02 17:24:10 +01:00
value = vultr_instance.walker.main_ip
2020-04-10 11:31:01 +01:00
type = "A"
2020-03-20 21:38:18 +00:00
ttl = 1
}
2020-03-20 22:11:43 +00:00
resource "cloudflare_record" "theorangeonenet_srv_matrix" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "_matrix._tcp"
type = "SRV"
ttl = 1
data = {
service = "_matrix"
proto = "_tcp"
name = "theorangeone.net"
priority = 10
weight = 0
port = 8448
target = cloudflare_record.jakehowardtech_matrix.hostname
}
}
2020-05-08 21:27:32 +01:00
resource "cloudflare_record" "theorangeonenet_img" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "img"
2021-04-24 22:14:29 +01:00
value = vultr_instance.walker.main_ip
2020-05-08 21:27:32 +01:00
type = "A"
ttl = 1
}
resource "cloudflare_record" "theorangeonenet_matrix" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "matrix"
value = linode_instance.casey.ip_address
type = "A"
ttl = 1
}
2020-05-08 21:27:32 +01:00
resource "cloudflare_record" "theorangeonenet_dl" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "dl"
2021-04-24 22:14:29 +01:00
value = vultr_instance.walker.main_ip
2020-05-08 21:27:32 +01:00
type = "A"
ttl = 1
}
resource "cloudflare_record" "theorangeonenet_bg" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "bg"
2021-04-24 22:14:29 +01:00
value = vultr_instance.walker.main_ip
2020-05-08 21:27:32 +01:00
type = "A"
ttl = 1
}
resource "cloudflare_record" "theorangeonenet_upload" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "upload"
2021-04-24 22:14:29 +01:00
value = vultr_instance.walker.main_ip
2020-05-08 21:27:32 +01:00
type = "A"
ttl = 1
}
2020-07-21 20:55:44 +01:00
resource "cloudflare_record" "theorangeonenet_plausible" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "plausible"
2021-05-02 16:07:25 +01:00
value = vultr_instance.walker.main_ip
2020-07-21 20:55:44 +01:00
type = "A"
ttl = 1
}
2020-08-30 17:46:52 +01:00
resource "cloudflare_record" "theorangeonenet_plausible_bare" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "elbisualp"
2021-05-02 16:07:25 +01:00
value = vultr_instance.walker.main_ip
type = "A"
ttl = 1
}
2021-01-17 12:49:23 +00:00
resource "cloudflare_record" "theorangeonenet_pages" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "pages"
2021-05-02 17:24:10 +01:00
value = vultr_instance.walker.main_ip
type = "A"
ttl = 1
}
2020-09-05 20:33:57 +01:00
2020-09-30 18:49:36 +01:00
resource "cloudflare_record" "theorangeonenet_notes" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "notes"
2022-10-09 18:26:49 +01:00
value = cloudflare_record.theorangeonenet_gitlab_pages.hostname
2020-09-30 18:49:36 +01:00
type = "CNAME"
ttl = 1
}
2021-02-12 23:32:31 +00:00
resource "cloudflare_record" "theorangeonenet_privatebin" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "bin"
2022-01-21 21:52:21 +00:00
value = linode_instance.casey.ip_address
2021-02-12 23:32:31 +00:00
type = "A"
ttl = 1
}
2021-06-20 12:01:20 +01:00
resource "cloudflare_record" "theorangeonenet_dokku" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "d"
value = vultr_instance.grimes.main_ip
type = "A"
ttl = 1
}
resource "cloudflare_record" "theorangeonenet_dokku_wildcard" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "*.d"
value = vultr_instance.grimes.main_ip
type = "A"
ttl = 1
}
resource "cloudflare_record" "theorangeonenet_status" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "status"
value = linode_instance.decker.ip_address
type = "A"
ttl = 1
}
resource "cloudflare_record" "theorangeonenet_google_site_verification" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "@"
value = "google-site-verification=IXY4iSBN_vOcM3cp_f-BgVvEI_shz1GzXuY_8dqY61o"
type = "TXT"
ttl = 1
}
2022-06-05 15:44:49 +01:00
resource "cloudflare_record" "theorangeonenet_commento" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "commento"
value = vultr_instance.walker.main_ip
type = "A"
ttl = 1
}
2022-09-22 21:22:05 +01:00
resource "cloudflare_record" "theorangeonenet_mailgun_spf" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "mg"
value = "v=spf1 include:mailgun.org -all"
2022-09-22 21:22:05 +01:00
type = "TXT"
ttl = 1
}
resource "cloudflare_record" "theorangeonenet_mailgun_dkim" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "mta._domainkey.mg"
value = "k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1Z/MHEzpbWm5EgMkyWb+Xkz44Xrzr4SA5i2u8M2H5yZ1PSb4DpGk3IAX+I05UWax02+WBW3CBb5wU9rH9flgxezBoCf/hiMS1Wjb9hKGIBa2jMCzpF+wa5fyqLkLoAJZF4bc/BJKyi/ET2c7+DAA/2KlWv/nv4MEjcUR4hNGLPEC9+6PhUp8z2PnUQLzPRWHpKc1oLrnROWaX3XxdDekCzwyOw7ygzZdThVevE+0CqXVOt5SUSUCnd2tjVbvblGi6DBiQY5Tl6+xLqkQHCRqks9187+EN4FdJXkjQodkFzzyiBH5cXVGiZLOhal4koEvxGirr596qM97bIXiJWArdQIDAQAB"
type = "TXT"
ttl = 1
}
2022-09-22 21:29:21 +01:00
resource "cloudflare_record" "theorangeonenet_mailgun_dmarc" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "_dmarc.mg"
value = "v=DMARC1; pct=100; p=quarantine; rua=mailto:dmarc-report@jakehoward.tech;"
type = "TXT"
ttl = 1
}
2022-10-08 15:51:37 +01:00
resource "cloudflare_record" "theorangeonenet_gitlab_pages" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "gitlab-pages"
value = cloudflare_record.theorangeonenet_git.hostname
type = "CNAME"
ttl = 1
}
resource "cloudflare_record" "theorangeonenet_gitlab_pages_wildcard" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "*.gitlab-pages"
value = cloudflare_record.theorangeonenet_gitlab_pages.hostname
type = "CNAME"
ttl = 1
}