From 31c437db3c0901b3d033d0d21cdb6e60190aed0d Mon Sep 17 00:00:00 2001 From: Edward Viaene Date: Fri, 14 Oct 2016 14:17:56 +0000 Subject: [PATCH] mx fix --- demo-11/route53.tf | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/demo-11/route53.tf b/demo-11/route53.tf index 3bae903..6b3783b 100644 --- a/demo-11/route53.tf +++ b/demo-11/route53.tf @@ -20,7 +20,13 @@ resource "aws_route53_record" "mail1-record" { name = "newtech.academy" type = "MX" ttl = "300" - records = ["aspmx.l.google.com"] + records = [ + "1 aspmx.l.google.com.", + "5 alt1.aspmx.l.google.com.", + "5 alt2.aspmx.l.google.com.", + "10 aspmx2.googlemail.com.", + "10 aspmx3.googlemail.com." + ] } output "ns-servers" {