An open API service indexing awesome lists of open source software.

https://github.com/byu-oit/terraform-aws-ses

Configures and verifies an domain in AWS SES
https://github.com/byu-oit/terraform-aws-ses

Last synced: 5 months ago
JSON representation

Configures and verifies an domain in AWS SES

Awesome Lists containing this project

README

          

![Latest GitHub Release](https://img.shields.io/github/v/release/byu-oit/terraform-aws-ses?sort=semver)

# terraform-aws-ses
Configures and verifies a domain in AWS SES.

#### [New to Terraform Modules at BYU?](https://github.com/byu-oit/terraform-documentation)

## Usage
```hcl
data "aws_route53_zone" "mysubdomain" {
name = "mysubdomain.byu.edu."
}

module "ses" {
source = "github.com/byu-oit/terraform-aws-ses?ref=v1.0.0"
domain_name = "mysubdomain.byu.edu"
hosted_zone_id = data.aws_route53_zone.mysubdomain
}
```

## Requirements
* Terraform version 0.12.16 or greater
* You must already have a Route53 Hosted Zone setup for your domain, with proper NS routing setup in the parent DNS.
* You must already have an SES Rule Set created and active in your account.

## Email Verification
After applying this module, you will see a verification email inside the `mail_from_inbox_bucket_name` S3 bucket. Open that email and go to the verification link. You should then be able to use SES to send emails.

## Sandbox Mode
Your SES Domain starts off in sandbox mode. In sandbox mode, you will be restricted on how many emails you can send, and you can only send to verfied recipients. To get out of sandbox mode, you need to open a support ticket with AWS. There is a specific ticket type for SES limit increases that you should use.

## Inputs
| Name | Type | Description | Default |
| --- | --- | --- | --- |
| domain_name | string | The domain that you want to use for sending and receiving emails. | |
| hosted_zone_id | string | MX and verification records will be written here. The name of this Hosted Zone should match the `domain_name`. | |
| rule_set_name | string | Name of the active SES Rule Set in your account. | |
| mail_from_email_address | string | This email address will be created, and the verification process started. | reply@ |
| mail_from_inbox_bucket_name | string | The verification email will be delivered here. | ses-inbox- |

## Outputs
| Name | Type | Description |
| --- | --- | --- |
| Note | string | Description of manual steps that must be taken to complete SES setup. |

TODO: add more outputs.