7Factor / terraform-aws-ses

A small module for adding Simple Email Service to an aws account.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AWS SES Configuration via Terraform

This repo contains all the terraform for creating an SES user and DNS records (MX, SPF, DMARC).

How to Use This

Check the variables files for the appropriate configuration depending on your environment, and run terraform apply. You should read the documentation on how to use TF before you really do much with it else you might blow something up. However, not to worry. That's why we have this system in place--if you blow it away we can simply rebuild it with a few commands.

Summary

In this doc we'll describe at a very high level what's going on, but you should really read the variable definitions for development and prod in order to gain a complete understanding of the details.

Example Usage

module "networking" {
  source  = "7Factor/ses/aws"
  version = "~> 1"

  dmarc_email   = "youremail@7factor.io"
  domain_name   = "domain.com"
  route53_zone_id = "Z1PSM7MU3C2H4Z"
}

Migrating to Terraform Registry version

We have migrated this module to the Terraform Registry! Going forward, you should endeavour to use the registry as the source for this module. It is also highly recommended that you migrate existing projects to the new source at your earliest convenience. Using it in this way, you can select a range of versions to use in your service which allows us to make potentially breaking changes to the module without breaking your service.

Migration instructions

You need to change the module source from the GitHub url to 7Factor/ses/aws. This will pull the module from the Terraform registry. You should also add a version to the module block. See the example above for what this looks like together.

Major version 1 is intended to maintain backwards compatibility with the old module source. To use the new module source and maintain compatibility, set your version to "~> 1". This means you will receive any updates that are backwards compatible with the old module.

About

A small module for adding Simple Email Service to an aws account.

License:MIT License


Languages

Language:HCL 65.1%Language:Ruby 34.9%