orchestration.clouds/ahoskingit/terraform/dns_studi-odesigns.tf

125 lines
2.9 KiB
Terraform
Raw Permalink Normal View History

resource "cloudflare_zone" "studi-o_com" {
zone = "studi-odesigns.com"
}
resource "cloudflare_zone" "studi-o_ca" {
zone = "studi-odesigns.ca"
}
2019-06-10 03:27:38 +00:00
resource "cloudflare_record" "studi-o_com_www" {
zone_id = cloudflare_zone.studi-o_com.id
name = "www"
value = var.studi-odesigns_com
type = "CNAME"
ttl = 1
2019-06-20 04:39:36 +00:00
proxied = true
}
resource "cloudflare_record" "studi-o_com" {
zone_id = cloudflare_zone.studi-o_com.id
name = "studi-odesigns.com"
value = var.home_ip
type = "A"
ttl = 1
2019-06-20 04:39:36 +00:00
proxied = true
2019-06-10 03:27:38 +00:00
}
2019-06-10 05:24:27 +00:00
resource "cloudflare_record" "studi-o_com_txt" {
zone_id = cloudflare_zone.studi-o_com.id
name = "@"
type = "TXT"
value = "google-site-verification=AJw8umnraEhTYuHsrVc-5NvA7E2p08OF90HgPv8jWX4"
ttl = 120
2019-06-10 05:24:27 +00:00
}
resource "cloudflare_record" "studi-o_com_mx" {
zone_id = cloudflare_zone.studi-o_com.id
name = "@"
type = "MX"
value = "aspmx.l.google.com"
priority = "1"
2019-06-10 05:24:27 +00:00
}
resource "cloudflare_record" "studi-o_com_mx1" {
zone_id = cloudflare_zone.studi-o_com.id
name = "@"
type = "MX"
value = "alt1.aspmx.l.google.com"
priority = "5"
2019-06-10 05:24:27 +00:00
}
resource "cloudflare_record" "studi-o_com_mx2" {
zone_id = cloudflare_zone.studi-o_com.id
name = "@"
type = "MX"
value = "alt2.aspmx.l.google.com"
priority = "5"
2019-06-10 05:24:27 +00:00
}
resource "cloudflare_record" "studi-o_com_mx3" {
zone_id = cloudflare_zone.studi-o_com.id
name = "@"
type = "MX"
value = "aspmx2.googlemail.com"
priority = "10"
2019-06-10 05:24:27 +00:00
}
resource "cloudflare_record" "studi-o_com_mx4" {
zone_id = cloudflare_zone.studi-o_com.id
name = "@"
type = "MX"
value = "aspmx3.googlemail.com"
priority = "10"
2019-06-10 05:24:27 +00:00
}
resource "cloudflare_record" "studi-o_ca_www" {
zone_id = cloudflare_zone.studi-o_ca.id
name = "www"
value = "automatedbytes.com"
type = "CNAME"
ttl = 3600
2019-06-10 05:24:27 +00:00
}
resource "cloudflare_record" "studi-o_ca_txt" {
zone_id = cloudflare_zone.studi-o_ca.id
name = "@"
type = "TXT"
value = "google-site-verification=1VQq6Qc0OSpPKs_cd9nKIAGiTw9I7uQbmwnlGd44yo8"
ttl = 120
2019-06-10 05:24:27 +00:00
}
resource "cloudflare_record" "studi-o_ca_mx" {
zone_id = cloudflare_zone.studi-o_ca.id
name = "@"
type = "MX"
value = "aspmx.l.google.com"
priority = "1"
2019-06-10 05:24:27 +00:00
}
resource "cloudflare_record" "studi-o_ca_mx1" {
zone_id = cloudflare_zone.studi-o_ca.id
name = "@"
type = "MX"
value = "alt1.aspmx.l.google.com"
priority = "5"
2019-06-10 05:24:27 +00:00
}
resource "cloudflare_record" "studi-o_ca_mx2" {
zone_id = cloudflare_zone.studi-o_ca.id
name = "@"
type = "MX"
value = "alt2.aspmx.l.google.com"
priority = "5"
2019-06-10 05:24:27 +00:00
}
resource "cloudflare_record" "studi-o_ca_mx3" {
zone_id = cloudflare_zone.studi-o_ca.id
name = "@"
type = "MX"
value = "aspmx2.googlemail.com"
priority = "10"
2019-06-10 05:24:27 +00:00
}
resource "cloudflare_record" "studi-o_ca_mx4" {
zone_id = cloudflare_zone.studi-o_ca.id
name = "@"
type = "MX"
value = "aspmx3.googlemail.com"
priority = "10"
2020-11-25 05:39:55 +00:00
}