Terraform module to handle the SES resources.
| Name | Version |
|---|---|
| aws | >= 6.61 |
| Name | Version |
|---|---|
| terraform | >= 1.0 |
| aws | >= 6.61 |
The following input variables are required:
Description: Domain name for which SES will be configured
Type: string
The following input variables are optional (have default values):
Description: Whether to create the DKIM CNAME records in Route 53. Set to false when managing the DNS records outside of Terraform.
Type: bool
Default: false
Description: Whether to create the _amazonses TXT record in Route 53 for domain verification. Set to false when managing the DNS record outside of Terraform.
Type: bool
Default: false
Description: Boolean flag for performing the domain identity verification. This is useful when the DNS zone is not handled by Route 53 and once the module outputs the TXT records, the user can create those records elsewhere and return to this module to flip this toggle.
Type: bool
Default: false
Description: Subdomain to use as the MAIL FROM domain (e.g. "mail" produces mail.). Leave empty to disable custom MAIL FROM.
Type: string
Default: ""
Description: Action to take if the MAIL FROM domain's MX record is not found. Valid values: UseDefaultValue, RejectMessage.
Type: string
Default: "UseDefaultValue"
Description: Name of the SNS topic where the bounces are recorded
Type: string
Default: ""
Description: ARN of the SNS topic where the bounces are recorded
Type: string
Default: ""
Description: Name of the SNS topic where the complaints are recorded
Type: string
Default: ""
Description: ARN of the SNS topic where the complaints are recorded
Type: string
Default: ""
Description: Name of the SNS topic where the delivery are recorded
Type: string
Default: ""
Description: ARN of the SNS topic where the delivery are recorded
Type: string
Default: ""
| Name | Description |
|---|---|
| mail_from_domain | The custom MAIL FROM domain. Null when 'mail_from_subdomain' is not set. When 'zone_id' is empty, you must create the MX and SPF records for this domain externally using the 'mail_from_mx_record' and 'mail_from_spf_record' outputs. |
| mail_from_mx_record | MX record value to set on the MAIL FROM domain when DNS is managed outside Route 53. Null when 'mail_from_subdomain' is not set. |
| mail_from_spf_record | SPF TXT record value to set on the MAIL FROM domain when DNS is managed outside Route 53. Null when 'mail_from_subdomain' is not set. |
| verification_token | A code which when added to the domain as a TXT record will signal to SES that the owner of the domain has authorised SES to act on their behalf. If you pass a non-empty string as the value for the 'zone_id' variable, you can ignore this output as the TXT record will be created in the Route 53 zone. Otherwise, you will need to handle the TXT record and use the value of this output. |
Copyright (c) 2023 flaconi