rdhariwal / terraform-aws-ses-domain

Configures a domain hosted on Route53 to work with AWS Simple Email Service (SES).

Home Page:https://registry.terraform.io/modules/trussworks/ses-domain

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Configures a domain hosted on Route53 to work with AWS Simple Email Service (SES)

Creates the following resources:

  • MX record pointing to AWS's SMTP endpoint
  • TXT record for SPF validation
  • Custom MAIL FROM domain
  • CNAME records for DKIM verification
  • SES Verfication for the domain

NOTE: SES is only available in us-east-1, us-west-2, and eu-west-1

Usage

module "ses_domain" {
  source = "../../modules/aws-ses-domain"

  domain_name      = "example.com"
  mail_from_domain = "email.example.com"
  route53_zone_id  = "Z123456789"
}

Inputs

Name Description Type Default Required
dmarc_rua Email address for capturing DMARC aggregate reports. string - yes
domain_name The domain name to configure SES. string - yes
enable_verification Control whether or not to verify SES DNS records. string true no
from_addresses List of email addresses to catch bounces and rejections list - yes
mail_from_domain Subdomain (of the route53 zone) which is to be used as MAIL FROM address string - yes
receive_s3_bucket Name of the S3 bucket to store received emails. string - yes
receive_s3_prefix The key prefix of the S3 bucket to store received emails. string - yes
route53_zone_id Route53 host zone ID to enable SES. string - yes
ses_rule_set Name of the SES rule set to associate rules with. string - yes

About

Configures a domain hosted on Route53 to work with AWS Simple Email Service (SES).

https://registry.terraform.io/modules/trussworks/ses-domain

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:HCL 100.0%