Created
December 2, 2016 18:53
-
-
Save abhiyerra/6f205af59b20cce5523e810e9f3b2f33 to your computer and use it in GitHub Desktop.
Cloudflare + Gmail MX Records
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
provider "cloudflare" { | |
email = "" | |
token = "" | |
} | |
resource "cloudflare_record" "cf_mx0" { | |
domain = "opszero.com" | |
name = "@" | |
value = "aspmx.l.google.com" | |
priority = "1" | |
type = "MX" | |
} | |
resource "cloudflare_record" "cf_mx1" { | |
domain = "opszero.com" | |
name = "@" | |
value = "alt1.aspmx.l.google.com" | |
priority = "5" | |
type = "MX" | |
} | |
resource "cloudflare_record" "cf_mx2" { | |
domain = "opszero.com" | |
name = "@" | |
value = "alt2.aspmx.l.google.com" | |
priority = "5" | |
type = "MX" | |
} | |
resource "cloudflare_record" "cf_mx3" { | |
domain = "opszero.com" | |
name = "@" | |
value = "aspmx2.googlemail.com" | |
priority = "10" | |
type = "MX" | |
} | |
resource "cloudflare_record" "cf_mx4" { | |
domain = "opszero.com" | |
name = "@" | |
value = "aspmx3.googlemail.com" | |
priority = "10" | |
type = "MX" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment