Skip to content

Terraform module to create the MX, SPF, DKIM and TXT records that are required to use a custom domain for email with iCloud+ using AWS Route53

Notifications You must be signed in to change notification settings

apples723/terraform-aws-icloud-mail-r53

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform-AWS-iCloud-Mail-R53

Terraform module to create the MX, SPF, DKIM and TXT records that are required to use a custom domain for email with iCloud+ using AWS Route53.

To get started create a new workspace for your domain (replace awslab-cloud with your domain name):

terraform worksapce new awslab-cloud

Then update the necessary variables in the tfvars file. In this case it would awslab-cloud.tfvars.

Then apply the configuration:

terraform apply -var-file=envs/awslab-cloud.tfvars

Inputs

Name Description Type Default Required
create_hosted_zone Set to true to create a new hosted zone for the domain bool false no
lookup_mail_zone_id Set to true to lookup the zone ID using the domain name, hosted zone must be in same aws account bool false no
mail_domain_name Domain name that will be used for email for iCloud custom domain email string n/a yes
mail_domain_zone_id Set this variable to the Hosted Zone ID of the domain you are using for mail string null no
verifcation_domain_key Set this to the DKIM value that is provided from iCloud.com when creating custom domain string n/a yes
verification_spf_record Set this to the SPF value that is provided from iCloud.com when creating custom domain string "v=spf1 include:icloud.com ~all" no
verification_txt_record Set this to TXT value that is provided from iCloud.com when creating custom domain string n/a yes

About

Terraform module to create the MX, SPF, DKIM and TXT records that are required to use a custom domain for email with iCloud+ using AWS Route53

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages