Skip to content

Terraform module to provision Simple Email Service on AWS

License

Notifications You must be signed in to change notification settings

Infrastrukturait/terraform-aws-ses

Repository files navigation

terraform-aws-ses

WeSupportUkraine

About

Terraform module to provision Simple Email Service on AWS.

License

License: MIT

The MIT License (MIT)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Source: <https://opensource.org/licenses/MIT>

See LICENSE for full details.

Authors

Documentation

Requirements

Name Version
terraform >= 0.13
aws >= 2.0

Modules

No modules.

Resources

Name Type
aws_iam_access_key.smtp_user resource
aws_iam_policy.ses_sender resource
aws_iam_user.smtp_user resource
aws_iam_user_policy_attachment.test-attach resource
aws_ses_domain_dkim.ses_dkim resource
aws_ses_domain_identity.ses resource
aws_iam_policy_document.ses_sender data source

Inputs

Name Description Type Default Required
domain_name The domain to create the SES string n/a yes
tags Tags map for resources map(string) {} no

Outputs

Name Description
dkim_record_name__1 A first name of record which need added to the domain as CNAME allows for receivers to verify that emails were indeed authorized by the domain owner.
dkim_record_name__2 A second name of record which need added to the domain as CNAME allows for receivers to verify that emails were indeed authorized by the domain owner.
dkim_record_name__3 A third name of record which when added to the domain as CNAME allows for receivers to verify that emails were indeed authorized by the domain owner.
dkim_record_value__1 n/a
dkim_record_value__2 n/a
dkim_record_value__3 n/a
dkim_records_tokens A list of records, if you prefer list, which when added to the domain as CNAMEs allows for receivers to verify that emails were indeed authorized by the domain owner.
ses_domain_identity_arn The ARN of the SES domain identity
ses_verification_record_name A name of record which when added to the domain as TXT will signal to SES that the owner of the domain has authorised SES to act on their behalf.
ses_verification_record_value 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.
The domain identity will be in state 'verification pending' until this is done.
Find out more about verifying domains in Amazon SES in the AWS SES docs.
smtp_password The SMTP password. This will be written to the state file in plain text.
smtp_username The SMTP user

Examples

About

Terraform module to provision Simple Email Service on AWS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages