Skip to content

Latest commit

 

History

History
62 lines (47 loc) · 3.19 KB

File metadata and controls

62 lines (47 loc) · 3.19 KB

AWS SES Domain Identity Module

This module creates AWS SES Domain Identity and verifies it through Route 53.

Example

# main.tf
# https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route53_zone_association
resource "aws_route53_zone" "this" {
  name = local.domain_name
}

module "ses_domain_identity" {
  source = "git::https://github.com/lpavliuk/Terraform-Modules.git//aws_ses_domain_identity"

  domain_name = aws_route53_zone.this.name

  bounce_notification_topic_arn    = local.notifications_sns_topic_arn
  complaint_notification_topic_arn = local.notifications_sns_topic_arn
}

Requirements

Name Version
terraform < 2.0.0, >= 1.6.6
aws < 6.0, >= 5.22

Inputs

Name Description Type Default Required
domain_name Domain Name string n/a yes
bounce_notification_topic_arn SNS Topic ARN for bounced emails string "" no
complaint_notification_topic_arn SNS Topic ARN for email complaints string "" no
delivery_notification_topic_arn SNS Topic ARN for emails delivery status string "" no

Outputs

Name Description
id Identity ID
arn Identity ARN

Resources

Name Type
aws_route53_record.amazonses_dkim_record resource
aws_route53_record.verification_record resource
aws_ses_domain_dkim.this resource
aws_ses_domain_identity.this resource
aws_ses_identity_notification_topic.bounce resource
aws_ses_identity_notification_topic.complaint resource
aws_ses_identity_notification_topic.delivery resource
aws_route53_zone.this data source