Panfactum LogoPanfactum
Infrastructure ModulesDirect ModulesAWSaws_ses_domain
aws_ses_domain
Stable
Direct
Source Code Link

AWS SES Domain

Sets up a domain with AWS SES for email sending

Providers

The following providers are needed by this module:

  • aws (5.70.0)

  • pf (0.0.3)

  • random (3.6.0)

  • time (0.10.0)

Required Inputs

The following input variables are required:

domain

Description: Domain name that will send emails

Type: string

Optional Inputs

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

send_from_subdomain

Description: The default subdomain to send emails from

Type: string

Default: "mail"

smtp_allowed_cidrs

Description: CIDR blocks that can use the SMTP credentials

Type: list(string)

Default: []

Outputs

The following outputs are exported:

smtp_host

Description: The SMTP server for sending email

smtp_password

Description: The secret access key converted into an SES SMTP password by applying AWS's Sigv4 conversion algorithm

smtp_user

Description: The user to use for sending emails via SMTP

Usage

Create / Delete

This module does not register domains but rather adopts domains that you have already registered and updates their information. Additionally, destroying this module does un-register the domains; it only removes them from the terraform state.

Contact Information

There are three different domain contacts:

  • Registrant: The owner of the domain
  • Admin: The person responsible for administrative decisions about the domain
  • Tech: The person responsible for executing changes for the domain

It is possible for the same person to serve multiple roles.

These people will be contacted in the case of billing issues, abuse, or required changes. Their information is not publicly available, but will be made available to the registrar (AWS).