mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
feat(oci): add
This commit is contained in:
parent
7f6562ea70
commit
1e79f4f23c
29 changed files with 308 additions and 34 deletions
66
tf/gmail_dns/main.tf
Normal file
66
tf/gmail_dns/main.tf
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
resource "cloudflare_record" "gmail_mx_1_aspmx" {
|
||||
name = var.zone_name
|
||||
priority = 1
|
||||
proxied = false
|
||||
ttl = 3600
|
||||
type = "MX"
|
||||
value = "aspmx.l.google.com"
|
||||
zone_id = var.zone_id
|
||||
}
|
||||
|
||||
resource "cloudflare_record" "gmail_mx_5_alt1" {
|
||||
name = var.zone_name
|
||||
priority = 5
|
||||
proxied = false
|
||||
ttl = 3600
|
||||
type = "MX"
|
||||
value = "alt1.aspmx.l.google.com"
|
||||
zone_id = var.zone_id
|
||||
}
|
||||
|
||||
resource "cloudflare_record" "gmail_mx_5_alt2" {
|
||||
name = var.zone_name
|
||||
priority = 5
|
||||
proxied = false
|
||||
ttl = 3600
|
||||
type = "MX"
|
||||
value = "alt2.aspmx.l.google.com"
|
||||
zone_id = var.zone_id
|
||||
}
|
||||
|
||||
resource "cloudflare_record" "gmail_mx_10_alt3" {
|
||||
name = var.zone_name
|
||||
priority = 10
|
||||
proxied = false
|
||||
ttl = 3600
|
||||
type = "MX"
|
||||
value = "alt3.aspmx.l.google.com"
|
||||
zone_id = var.zone_id
|
||||
}
|
||||
resource "cloudflare_record" "gmail_mx_10_alt4" {
|
||||
name = var.zone_name
|
||||
priority = 10
|
||||
proxied = false
|
||||
ttl = 3600
|
||||
type = "MX"
|
||||
value = "alt4.aspmx.l.google.com"
|
||||
zone_id = var.zone_id
|
||||
}
|
||||
|
||||
resource "cloudflare_record" "gmail_dkim" {
|
||||
name = "google._domainkey"
|
||||
proxied = false
|
||||
ttl = 3600
|
||||
type = "TXT"
|
||||
value = var.dkim
|
||||
zone_id = var.zone_id
|
||||
}
|
||||
|
||||
resource "cloudflare_record" "gmail_spf" {
|
||||
name = var.zone_name
|
||||
proxied = false
|
||||
ttl = 3600
|
||||
type = "TXT"
|
||||
value = "v=spf1 include:_spf.google.com -all"
|
||||
zone_id = var.zone_id
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue