This module can be used to create a DKIM-verified domain in SES, as well as a user which is able to send emails.
Two AWS providers are used, as Route53 and SES are both not available in all regions.
aws
is the provider alias which will be used for SES and IAM.
aws.route53
is the provider alias which will be used for Route53.
Name |
Source |
Version |
smtp_user |
./modules/smtp-user |
n/a |
Name |
Description |
Type |
Default |
Required |
create_smtp_user |
Whether to create a user with SMTP access. |
bool |
false |
no |
domain |
The domain to verify. |
string |
n/a |
yes |
hosted_zone_name |
The name of the hosted zone to create records in, if different from the domain. |
string |
null |
no |
ssm_password_path |
The path in SSM where the SMTP password should be placed. Not used if left as null. |
string |
null |
no |
ssm_username_path |
The path in SSM where the SMTP username should be placed. Not used if left as null. |
string |
null |
no |
user_name |
The name of the IAM user to create. This will NOT be the resulting SMTP username, see output smtp_username . |
string |
null |
no |