Skip to content

Latest commit

 

History

History
67 lines (49 loc) · 2.74 KB

File metadata and controls

67 lines (49 loc) · 2.74 KB

SES Domain Identity & DKIM Module

Features

  • SES domain identity registration
  • SES domain verification trigger
  • DKIM setup for secure email validation
  • Route53 DNS records for DKIM CNAMEs
  • Toggle-based resource creation

Usage

module "ses_identity" {
  source = "./modules/ses"

  # Required: Root domain (e.g. example.com)
  domain = "example.com"

  # Required: Subdomain or prefix used to create identity.
  domain_prefix = "email"

  # Required: ID of the hosted zone where DNS records will be created
  zone_id = "Z0123456789ABCDEFG"

  # Required: Whether to enable creation of SES identity
  enable = true
}

Requirements

Name Version
aws ~> 6.0

Resources

Name Type
aws_route53_record.dmarc resource
aws_route53_record.ndr_ses_dkim_record resource
aws_route53_record.ses_mail_from_mx resource
aws_route53_record.ses_mail_from_spf resource
aws_ses_domain_dkim.ndr_dkim resource
aws_ses_domain_identity.ndr_ses resource
aws_ses_domain_identity_verification.ndr_ses_domain_verification resource
aws_ses_domain_mail_from.reporting resource

Inputs

Name Description Type Default Required
domain The root domain name to be registered with SES and used for verification. string n/a yes
is_sandbox Whether the workspace being created is a sandbox. bool n/a yes
zone_id The Route53 hosted zone ID where DNS verification records will be created. string n/a yes

Outputs

Name Description
report_email_address n/a