If you already have a Route53 hosted zone for the domain, the aws_route53_zone
data source should be used to find the zone ID.
data "aws_route53_zone" "zone" {
name = "example.com."
}
module "route53_o365" {
source = "mccanney/route53-o365/aws"
domain = "example.com"
zone_id = "${data.aws_route53_zone.zone.zone_id}"
ms_txt = "ms12345678"
enable_sfb = false
enable_mdm = false
}
This example also disables creating the DNS records for Skype for Business and Mobile Device Management.