Skip to content

Repository files navigation

terraform-aws-ses

Terraform module that provisions SES domain identities, Easy DKIM CNAME records, and SES notification topics.

For domain identities, Amazon SES v2 verifies Easy DKIM through three CNAME records. This module does not manage the legacy _amazonses TXT record.

Compatibility

This module requires Terraform 1.6.0 or later and supports AWS provider versions from 5.40.0 up to, but not including, 7.0.0.

Requirements

Name Version
terraform >= 1.6.0
aws >= 5.40.0, < 7.0.0

Providers

Name Version
aws >= 5.40.0, < 7.0.0

Modules

No modules.

Resources

Name Type
aws_route53_record.dkim resource
aws_ses_domain_dkim.main resource
aws_ses_identity_notification_topic.this resource
aws_sesv2_email_identity.main resource

Inputs

Name Description Type Default Required
configuration_set_name (Optional) The configuration set to use by default when sending from this identity. string null no
domain_name The domain name to configure SES. string n/a yes
enable_domain_dkim Control whether or not generate domain DKIM resource. string true no
enable_notifications (Required) Control whether or not send feedback notifications. bool false no
enable_verification Control whether or not to verify SES DNS records. string true no
notifications_include_original_headers (Optional) Whether SES should include original email headers in SNS notifications of this type. false by default. bool false no
notifications_sns_topic_arn (Required) The Amazon Resource Name (ARN) of the Amazon SNS topic. string null no
notifications_type (Required) A list of notifications that will be published to the specified Amazon SNS topic. Valid Values: Bounce, Complaint or Delivery. list(string) [] no
route53_zone_id Route53 host zone ID to enable SES. string "" no
tags (Optional) Additional Tags map(string) {} no

Outputs

Name Description
ses_identity_arn SES identity ARN.

Example

See examples/complete.

About

Ganex Terraform AWS SES module

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages