Files
fleet-terraform/addons/ses
Jorge Falcon 0166b67f74 Add custom domain support to SES module (#86)
- Added variable to drive custom mail from configuration
- Added resource for MX record to a specific route 53 zone, if custom
mail value from is enabled
- Add SPF record to local.spf_records list, if custom mail value from is
enabled. Current spf resource takes care of
  - Creating the record if the value is present
- Destroying the record if the value is not present (when disabled or
variable is not set)
2025-08-07 17:13:18 -04:00
..
2025-02-04 10:07:51 -06:00
2025-02-04 10:07:51 -06:00
2025-02-04 10:07:51 -06:00

SES Mailing Addon

This addon allows Fleet to send password resets via SES

Requirements

No requirements.

Providers

Name Version
aws 6.7.0

Modules

No modules.

Resources

Name Type
aws_iam_policy.main resource
aws_route53_record.amazonses_dkim_record resource
aws_route53_record.dmarc_domain resource
aws_route53_record.mx_record resource
aws_route53_record.spf_domain resource
aws_ses_domain_dkim.default resource
aws_ses_domain_identity.default resource
aws_ses_domain_mail_from.default resource
aws_iam_policy_document.main data source
aws_region.current data source

Inputs

Name Description Type Default Required
custom_mail_from Custom MAIL FROM domain settings
object({
enabled = optional(bool, false)
domain_prefix = optional(string, "")
})
{
"domain_prefix": "",
"enabled": false
}
no
domain Domain to use for SES. string n/a yes
extra_txt_records Extra TXT records that have to match the same name as the Fleet instance list(string) [] no
zone_id Route53 Zone ID string n/a yes

Outputs

Name Description
fleet_extra_environment_variables n/a
fleet_extra_iam_policies n/a