Skip to content

schubergphilis/terraform-aws-mcaf-ses

Repository files navigation

terraform-aws-mcaf-ses

Terraform module to configure SES.

Requirements

Name Version
terraform >= 1.3.0
aws >= 4.9.0

Providers

Name Version
aws >= 4.9.0
aws.route53 >= 4.9.0

Modules

Name Source Version
smtp_users github.com/schubergphilis/terraform-aws-mcaf-user v0.1.12

Resources

Name Type
aws_route53_record.dkim resource
aws_route53_record.dmarc resource
aws_route53_record.domain_mx resource
aws_route53_record.domain_spf resource
aws_route53_record.mail_from_mx resource
aws_route53_record.mail_from_spf resource
aws_route53_record.ses_verification resource
aws_route53_record.wildcard_spf resource
aws_secretsmanager_secret.default resource
aws_secretsmanager_secret_version.default resource
aws_ses_domain_dkim.default resource
aws_ses_domain_identity.default resource
aws_ses_domain_identity_verification.default resource
aws_ses_domain_mail_from.default resource
aws_iam_policy_document.allow_iam_user_to_send_emails data source
aws_region.current data source
aws_route53_zone.default data source

Inputs

Name Description Type Default Required
domain Domain name string n/a yes
create_spf_wildcard_record Set to true to create an additional wildcard SPF record that denies email from all subdomains bool true no
dmarc DMARC configuration
object({
policy = optional(string, "v=DMARC1;p=reject;sp=reject")
rua = optional(string)
ruf = optional(string)
})
{
"policy": "v=DMARC1;p=reject;sp=reject"
}
no
kms_key_id KMS key ARN used for encryption string null no
mail_from_domain Set a MAIL FROM domain (defaults to mail.$domain) string null no
smtp_users List of SMTP users allowed to send mail from this domain list(string) [] no
tags Map of tags to set on Terraform created resources map(string) null no

Outputs

No outputs.