ses

cloudposse/ses/aws

Terraform Module HCL AWS

Terraform module to provision Simple Email Service on AWS

Install
module "ses" {
source = "cloudposse/ses/aws"
version = "0.25.1"
}
plain text: /constructs/tfmod-cloudposse-ses-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

Terraform module to provision Simple Email Service on AWS. > [!TIP] > #### 👽 Use Atmos with Terraform > Cloud Posse uses atmos to easily orchestrate multiple environments using Terraform. > Works with Github Actions, Atlantis, or Spacelift. > > > Watch demo of using Atmos with Terraform > > Example of running atmos to manage infrastructure from our Quick Start tutorial. > Usage This module creates a SES domain with IAM user that is able to send emails with it. If module is provided with Route53 Zone ID it can also create verification DNS records for domain and DKIM. For a complete example, see examples/complete. For automated tests of the complete example using bats and Terratest (which tests and deploys the example on AWS), see test. What's worth to note is that every AWS SES starts in Sa

Inputs (33)
NameTypeDescriptionDefault
domainstringThe domain to create the SES identity for. required
zone_idstringRoute53 parent zone ID. If provided (not empty), the module will create Route53 ""
create_spf_recordboolIf provided the module will create an SPF record for `domain`.false
ses_user_enabledboolCreates user with permission to send emails from SES domaintrue
labels_as_tagsset(string)Set of labels (ID elements) to include as tags in the `tags` output. Default is [ "default" ]
label_orderlist(string)The order in which the labels (ID elements) appear in the `id`. Defaults to ["nanull
id_length_limitnumberLimit `id` to this many characters (minimum 6). Set to `0` for unlimited length.null
label_key_casestringControls the letter case of the `tags` keys (label names) for tags generated by null
enabledboolSet to false to prevent the module from creating any resourcesnull
attributeslist(string)ID element. Additional attributes (e.g. `workers` or `cluster`) to add to `id`, []
custom_from_subdomainlist(string)If provided the module will create a custom subdomain for the `From` address.[]
iam_permissionslist(string)Specifies permissions for the IAM user.[ "ses:SendRawEmail" ]
verify_dkimboolIf provided the module will create Route53 DNS records used for DKIM verificatiofalse
ses_group_enabledboolCreates a group with permission to send emails from SES domaintrue
contextanySingle object for setting entire context at once. See description of individual { "additional_tag_map": {}, "attribu
delimiterstringDelimiter to be used between ID elements. Defaults to `-` (hyphen). Set to `""` null
tagsmap(string)Additional tags (e.g. `{'BusinessUnit': 'XYZ'}`). Neither the tag keys nor the t{}
verify_domainboolIf provided the module will create Route53 DNS records used for domain verificatfalse
namestringID element. Usually the component or solution name, e.g. 'app' or 'jenkins'. Thinull
custom_from_behavior_on_mx_failurestringThe behaviour of the custom_from_subdomain when the MX record is not found. Defa"UseDefaultValue"
ses_group_namestringThe name of the IAM group to create. If empty the module will calculate name fro""
Outputs (12)
ses_domain_identity_arn — The ARN of the SES domain identity
ses_domain_identity_verification_token — A code which when added to the domain as a TXT record will signal to SES that the owner of the domai
ses_dkim_tokens — A list of DKIM Tokens which, when added to the DNS Domain as CNAME records, allows for receivers to
spf_record — The SPF record for the domain. This is a TXT record that should be added to the domain's DNS setting
custom_from_domain — The custom mail FROM domain
user_name — Normalized IAM user name.
ses_group_name — The IAM group name
ses_smtp_password — The SMTP password. This will be written to the state file in plain text.
access_key_id — The SMTP user which is access key ID.
user_arn — The ARN assigned by AWS for this user.
user_unique_id — The unique ID assigned by AWS.
secret_access_key — The IAM secret for usage with SES API. This will be written to the state file in plain text.
Resources (8)
aws_iam_groupaws_iam_group_policyaws_iam_user_group_membershipaws_iam_user_policyaws_route53_recordaws_ses_domain_dkimaws_ses_domain_identityaws_ses_domain_mail_from
Details
FrameworkTerraform Module
LanguageHCL
Version0.25.1
Cloud AWS
★ Stars54
Forks55
Total downloads1.2M
Inputs33
Outputs12
Resources8
Examples1
LicenseApache-2.0
Namespacecloudposse
Updated