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.
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.
| Name | Version |
|---|---|
| terraform | >= 1.6.0 |
| aws | >= 5.40.0, < 7.0.0 |
| Name | Version |
|---|---|
| aws | >= 5.40.0, < 7.0.0 |
No modules.
| 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 |
| 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 |
| Name | Description |
|---|---|
| ses_identity_arn | SES identity ARN. |
See examples/complete.