Skip to content

Latest commit

 

History

History
136 lines (75 loc) · 4.43 KB

README.md

File metadata and controls

136 lines (75 loc) · 4.43 KB

Terraform AWS SES module

lint test Tag License

Terraform module to handle the SES resources.

Providers

Name Version
aws >= 5.4

Requirements

Name Version
terraform >= 1.0
aws >= 5.4

Required Inputs

The following input variables are required:

Description: Domain name for which SES will be configured

Type: string

Optional Inputs

The following input variables are optional (have default values):

Description: Route 53 zone ID where the verification TXT record will be created. If this remains as an empty string, it means that the verification DNS record has been handled outside of Terraform.

Type: string

Default: ""

Description: Boolean flag for performing the domain identity verification. This is useful when the DNS zone is not handled by Route 53 and once the module outputs the TXT records, the user can create those records elsewhere and return to this module to flip this toggle.

Type: bool

Default: false

Description: Name of the SNS topic where the bounces are recorded

Type: string

Default: ""

Description: ARN of the SNS topic where the bounces are recorded

Type: string

Default: ""

Description: Name of the SNS topic where the complaints are recorded

Type: string

Default: ""

Description: ARN of the SNS topic where the complaints are recorded

Type: string

Default: ""

Description: Name of the SNS topic where the delivery are recorded

Type: string

Default: ""

Description: ARN of the SNS topic where the delivery are recorded

Type: string

Default: ""

Description: A map of tags to apply to all AWS resources

Type: map(string)

Default: {}

Outputs

Name Description
verification_token A code which when added to the domain as a TXT record will signal to SES that the owner of the domain has authorised SES to act on their behalf. If you pass a non-empty string as the value for the 'zone_id' variable, you can ignore this output as the TXT record will be created in the Route 53 zone. Otherwise, you will need to handle the TXT record and use the value of this output.

License

MIT License

Copyright (c) 2023 flaconi