-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
r/ses_domain_mail_from improvements #3445
Comments
Just as a note, this would actually be hard coded as it's not provided by the AWS API... https://docs.aws.amazon.com/ses/latest/DeveloperGuide/regions.html#region-mail-from |
We could even just leave a note in the docs to do something like this:
|
The current resource "aws_ses_domain_mail_from" "example" {
domain = "${aws_ses_domain_identity.example.domain}"
mail_from_domain = "bounce.${aws_ses_domain_identity.example.domain}"
}
# Example SES Domain Identity
resource "aws_ses_domain_identity" "example" {
domain = "example.com"
}
# Example Route53 MX record
resource "aws_route53_record" "example_ses_domain_mail_from_mx" {
zone_id = "${aws_route53_zone.example.id}"
name = "${aws_ses_domain_mail_from.example.mail_from_domain}"
type = "MX"
ttl = "600"
records = ["10 feedback-smtp.us-east-1.amazonses.com"] # Change to the region in which `aws_ses_domain_identity.example` is created
} If you have further enhancement or documentation requests, please create a new GitHub issue. Thanks. 👍 |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
#2029 adds support for SES MAIL FROM resources. It would be great to output the required DNS records so we can use them directly. I'll work on this if no one else is doing it?
The text was updated successfully, but these errors were encountered: