A terraform module which creates, in AWS Route53, the DNS records required by Office 365.
module "route53_o365" {
source = "mccanney/route53-o365/aws"
domain = "example.com"
zone_id = "${data.aws_route53_zone.zone_name.zone_id}"
ms_txt = "ms12345678"
enable_exchange = false
enable_sfb = false
enable_mdm = false
enable_dkim = false
enable_dmarc = false
enable_custom_mx = true
custom_mx_record = "5 mx.custom.example.com"
}
enable_exchange
controls whether the required DNS records for Exchange Online should be created or not. Defaults totrue
.enable_sfb
controls whether the required DNS records for Skype for Business should be created or not. Defaults totrue
.enable_mdm
controls whether the DNS for Mobile Device Management should be created or not. Defaults totrue
.enable_dkim
controls whether the required DNS records for DKIM signing for the custom domain should be created or not. Defaults tofalse
.enable_dmarc
controls whether a DMARC DNS record for the custom domain should be created or not. Defaults tofalse
.enable_custom_mx
controls whether the standard Office 365 MX record or a custom MX record is created. Defaults tofalse
.custom_mx_record
contains the value of the custom MX record to create ifenable_custom_mx
is set totrue
.
Please use the issue tracker to file any bug reports or make feature requests.
Released under the MIT license.