Skip to content

mccanney/terraform-aws-route53-o365

Repository files navigation

AWS Office 365 Route53 Terraform Module

CircleCI GitHub release license

A terraform module which creates, in AWS Route53, the DNS records required by Office 365.

Usage

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 to true.
  • enable_sfb controls whether the required DNS records for Skype for Business should be created or not. Defaults to true.
  • enable_mdm controls whether the DNS for Mobile Device Management should be created or not. Defaults to true.
  • enable_dkim controls whether the required DNS records for DKIM signing for the custom domain should be created or not. Defaults to false.
  • enable_dmarc controls whether a DMARC DNS record for the custom domain should be created or not. Defaults to false.
  • enable_custom_mx controls whether the standard Office 365 MX record or a custom MX record is created. Defaults to false.
  • custom_mx_record contains the value of the custom MX record to create if enable_custom_mx is set to true.

Examples

Contributing

Please use the issue tracker to file any bug reports or make feature requests.

License

Released under the MIT license.

About

Terraform module to create Office 365 Route53 DNS records

Resources

License

Stars

Watchers

Forks

Packages

No packages published