Skip to content

Terraform module which creates SES domain identity resources on AWS.

License

Notifications You must be signed in to change notification settings

rabiloo/terraform-aws-ses

Repository files navigation

AWS SES Terraform module

Terraform module which creates SES domain identity resources on AWS.

Usage

module "ses" {
  source  = "rabiloo/ses/aws"
  version = "~>0.2.1"

  domain = "example.com"
}

Requirements

Name Version
terraform >=1.2
aws >=4.0

Providers

Name Version
aws 4.61.0

Modules

No modules.

Resources

Name Type
aws_route53_record.dkim_record resource
aws_ses_domain_dkim.this resource
aws_ses_domain_identity.this resource
aws_ses_identity_policy.policy resource
aws_iam_policy_document.full data source
aws_iam_policy_document.resource data source
aws_iam_policy_document.sendonly data source
aws_route53_zone.this data source

Inputs

Name Description Type Default Required
domain The domain name string n/a yes
create_route53_records Principal ARNs to provide with sendonly access to the SES bool true no
full_access_principals Principal ARNs to provide with full access to the SES list(string) [] no
sendonly_access_principals Principal ARNs to provide with sendonly access to the SES list(string) [] no

Outputs

Name Description
route53_records List route53 records for dkim tokens
ses_domain_identity_arn The ARN of domain identity

Development

  1. Install terrform, tflint, terraform-docs and make
  2. Using make
make help

Contributing

All code contributions must go through a pull request and approved by a core developer before being merged. This is to ensure proper review of all the code.

Fork the project, create a feature branch, and send a pull request.

If you would like to help take a look at the list of issues.

License

This project is released under the MIT License.
Copyright © 2023 Rabiloo Co., Ltd
Please see License File for more information.