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

123 lines
2.9 KiB
Terraform
Raw 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
2019-06-10 03:27:38 +00:00
name = "www"
value = var.studi-odesigns_com
2019-06-10 03:27:38 +00:00
type = "CNAME"
2019-06-20 04:39:36 +00:00
ttl = 1
proxied = true
}
resource "cloudflare_record" "studi-o_com" {
zone_id = cloudflare_zone.studi-o_com.id
2019-06-20 04:39:36 +00:00
name = "studi-odesigns.com"
value = var.vultr_ip
2019-06-20 04:39:36 +00:00
type = "A"
ttl = 1
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
2019-06-10 05:24:27 +00:00
name = "@"
type = "TXT"
value = "google-site-verification=AJw8umnraEhTYuHsrVc-5NvA7E2p08OF90HgPv8jWX4"
ttl = 120
}
resource "cloudflare_record" "studi-o_com_mx" {
zone_id = cloudflare_zone.studi-o_com.id
2019-06-10 05:24:27 +00:00
name = "@"
type = "MX"
value = "aspmx.l.google.com"
priority = "1"
}
resource "cloudflare_record" "studi-o_com_mx1" {
zone_id = cloudflare_zone.studi-o_com.id
2019-06-10 05:24:27 +00:00
name = "@"
type = "MX"
value = "alt1.aspmx.l.google.com"
priority = "5"
}
resource "cloudflare_record" "studi-o_com_mx2" {
zone_id = cloudflare_zone.studi-o_com.id
2019-06-10 05:24:27 +00:00
name = "@"
type = "MX"
value = "alt2.aspmx.l.google.com"
priority = "5"
}
resource "cloudflare_record" "studi-o_com_mx3" {
zone_id = cloudflare_zone.studi-o_com.id
2019-06-10 05:24:27 +00:00
name = "@"
type = "MX"
value = "aspmx2.googlemail.com"
priority = "10"
}
resource "cloudflare_record" "studi-o_com_mx4" {
zone_id = cloudflare_zone.studi-o_com.id
2019-06-10 05:24:27 +00:00
name = "@"
type = "MX"
value = "aspmx3.googlemail.com"
priority = "10"
}
resource "cloudflare_record" "studi-o_ca_www" {
zone_id = cloudflare_zone.studi-o_ca.id
2019-06-10 05:24:27 +00:00
name = "www"
value = "automatedbytes.com"
type = "CNAME"
ttl = 3600
}
resource "cloudflare_record" "studi-o_ca_txt" {
zone_id = cloudflare_zone.studi-o_ca.id
2019-06-10 05:24:27 +00:00
name = "@"
type = "TXT"
value = "google-site-verification=1VQq6Qc0OSpPKs_cd9nKIAGiTw9I7uQbmwnlGd44yo8"
ttl = 120
}
resource "cloudflare_record" "studi-o_ca_mx" {
zone_id = cloudflare_zone.studi-o_ca.id
2019-06-10 05:24:27 +00:00
name = "@"
type = "MX"
value = "aspmx.l.google.com"
priority = "1"
}
resource "cloudflare_record" "studi-o_ca_mx1" {
zone_id = cloudflare_zone.studi-o_ca.id
2019-06-10 05:24:27 +00:00
name = "@"
type = "MX"
value = "alt1.aspmx.l.google.com"
priority = "5"
}
resource "cloudflare_record" "studi-o_ca_mx2" {
zone_id = cloudflare_zone.studi-o_ca.id
2019-06-10 05:24:27 +00:00
name = "@"
type = "MX"
value = "alt2.aspmx.l.google.com"
priority = "5"
}
resource "cloudflare_record" "studi-o_ca_mx3" {
zone_id = cloudflare_zone.studi-o_ca.id
2019-06-10 05:24:27 +00:00
name = "@"
type = "MX"
value = "aspmx2.googlemail.com"
priority = "10"
}
resource "cloudflare_record" "studi-o_ca_mx4" {
zone_id = cloudflare_zone.studi-o_ca.id
2019-06-10 05:24:27 +00:00
name = "@"
type = "MX"
value = "aspmx3.googlemail.com"
priority = "10"
}