alemuro / terraform-aws-ses-email-forwarding

Terraform module that configures Amazon SES to forward emails to an existing email account.
MIT License
10 stars 5 forks source link

incorrect value domain for DKIM verification #5

Open jimsmith opened 3 years ago

jimsmith commented 3 years ago

DKIM verification would never occur as the value domain is expecting is incorrect - I got it to work by doing this:

records = ["${element(aws_ses_domain_dkim.dkim.dkim_tokens, count.index)}.dkim.amazonses.com"]

https://github.com/alemuro/terraform-aws-ses-email-forwarding/blob/0c6ebc2fac8600fbd3fd83a3c6bfc08af79ce0e9/dns_aws.tf#L11