{"id":21730160,"url":"https://github.com/nventive/terraform-aws-ses","last_synced_at":"2026-05-18T11:38:18.909Z","repository":{"id":218559237,"uuid":"745628840","full_name":"nventive/terraform-aws-ses","owner":"nventive","description":"Terraform module to provision Simple Email Service (SES) on AWS.","archived":false,"fork":false,"pushed_at":"2024-01-24T19:39:40.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T09:40:00.449Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://nventive.com","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nventive.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2024-01-19T18:42:54.000Z","updated_at":"2024-01-22T15:55:20.000Z","dependencies_parsed_at":"2024-01-22T20:10:02.150Z","dependency_job_id":null,"html_url":"https://github.com/nventive/terraform-aws-ses","commit_stats":null,"previous_names":["nventive/terraform-aws-ses"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nventive%2Fterraform-aws-ses","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nventive%2Fterraform-aws-ses/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nventive%2Fterraform-aws-ses/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nventive%2Fterraform-aws-ses/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nventive","download_url":"https://codeload.github.com/nventive/terraform-aws-ses/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244706839,"owners_count":20496637,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-26T04:13:12.897Z","updated_at":"2026-05-18T11:38:13.876Z","avatar_url":"https://github.com/nventive.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- BEGIN_TF_DOCS --\u003e\n![nventive](https://nventive-public-assets.s3.amazonaws.com/nventive_logo_github.svg?v=2)\n\n# terraform-aws-ses\n\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg?style=flat-square)](LICENSE) [![Latest Release](https://img.shields.io/github/release/nventive/terraform-aws-ses.svg?style=flat-square)](https://github.com/nventive/terraform-aws-ses/releases/latest)\n\nTerraform module to provision Simple Email Service (SES) on AWS.\n\n---\n\n## Examples\n\n**IMPORTANT:** We do not pin modules to versions in our examples because of the difficulty of keeping the versions in\nthe documentation in sync with the latest released versions. We highly recommend that in your code you pin the version\nto the exact version you are using so that your infrastructure remains stable, and update versions in a systematic way\nso that they do not catch you by surprise.\n\n```hcl\nmodule \"skeleton\" {\n  source = \"nventive/ses/aws\"\n  # We recommend pinning every module to a specific version\n  # version = \"x.x.x\"\n\n  namespace = \"eg\"\n  stage     = \"test\"\n  name      = \"app\"\n\n  domain           = \"example.com\"\n  mail_from_domain = \"bounce\"\n  verify_dkim      = true\n  verify_domain    = true\n  zone_id          = \"XXXXXXXXXXXXXX\"\n}\n```\n\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | \u003e= 0.13.0 |\n| \u003ca name=\"requirement_aws\"\u003e\u003c/a\u003e [aws](#requirement\\_aws) | \u003e= 2.0 |\n| \u003ca name=\"requirement_null\"\u003e\u003c/a\u003e [null](#requirement\\_null) | \u003e= 2.0 |\n| \u003ca name=\"requirement_template\"\u003e\u003c/a\u003e [template](#requirement\\_template) | \u003e= 2.0 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_aws\"\u003e\u003c/a\u003e [aws](#provider\\_aws) | \u003e= 2.0 |\n\n## Modules\n\n| Name | Source | Version |\n|------|--------|---------|\n| \u003ca name=\"module_ses\"\u003e\u003c/a\u003e [ses](#module\\_ses) | cloudposse/ses/aws | 0.24.0 |\n| \u003ca name=\"module_this\"\u003e\u003c/a\u003e [this](#module\\_this) | cloudposse/label/null | 0.25.0 |\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [aws_route53_record.ses_domain_mail_from_mx](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route53_record) | resource |\n| [aws_route53_record.ses_domain_mail_from_txt](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route53_record) | resource |\n| [aws_ses_domain_mail_from.default](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ses_domain_mail_from) | resource |\n| [aws_region.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region) | data source |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_additional_tag_map\"\u003e\u003c/a\u003e [additional\\_tag\\_map](#input\\_additional\\_tag\\_map) | Additional key-value pairs to add to each map in `tags_as_list_of_maps`. Not added to `tags` or `id`.\u003cbr\u003eThis is for some rare cases where resources want additional configuration of tags\u003cbr\u003eand therefore take a list of maps with tag key, value, and additional configuration. | `map(string)` | `{}` | no |\n| \u003ca name=\"input_attributes\"\u003e\u003c/a\u003e [attributes](#input\\_attributes) | ID element. Additional attributes (e.g. `workers` or `cluster`) to add to `id`,\u003cbr\u003ein the order they appear in the list. New attributes are appended to the\u003cbr\u003eend of the list. The elements of the list are joined by the `delimiter`\u003cbr\u003eand treated as a single ID element. | `list(string)` | `[]` | no |\n| \u003ca name=\"input_behavior_on_mx_failure\"\u003e\u003c/a\u003e [behavior\\_on\\_mx\\_failure](#input\\_behavior\\_on\\_mx\\_failure) | The action that you want Amazon SES to take if it cannot successfully read the required MX record when you send an email.\u003cbr\u003eValid values are: `UseDefaultValue` and `RejectMessage`. | `string` | `\"UseDefaultValue\"` | no |\n| \u003ca name=\"input_context\"\u003e\u003c/a\u003e [context](#input\\_context) | Single object for setting entire context at once.\u003cbr\u003eSee description of individual variables for details.\u003cbr\u003eLeave string and numeric variables as `null` to use default value.\u003cbr\u003eIndividual variable settings (non-null) override settings in context object,\u003cbr\u003eexcept for attributes, tags, and additional\\_tag\\_map, which are merged. | `any` | \u003cpre\u003e{\u003cbr\u003e  \"additional_tag_map\": {},\u003cbr\u003e  \"attributes\": [],\u003cbr\u003e  \"delimiter\": null,\u003cbr\u003e  \"descriptor_formats\": {},\u003cbr\u003e  \"enabled\": true,\u003cbr\u003e  \"environment\": null,\u003cbr\u003e  \"id_length_limit\": null,\u003cbr\u003e  \"label_key_case\": null,\u003cbr\u003e  \"label_order\": [],\u003cbr\u003e  \"label_value_case\": null,\u003cbr\u003e  \"labels_as_tags\": [\u003cbr\u003e    \"unset\"\u003cbr\u003e  ],\u003cbr\u003e  \"name\": null,\u003cbr\u003e  \"namespace\": null,\u003cbr\u003e  \"regex_replace_chars\": null,\u003cbr\u003e  \"stage\": null,\u003cbr\u003e  \"tags\": {},\u003cbr\u003e  \"tenant\": null\u003cbr\u003e}\u003c/pre\u003e | no |\n| \u003ca name=\"input_custom_mx_enabled\"\u003e\u003c/a\u003e [custom\\_mx\\_enabled](#input\\_custom\\_mx\\_enabled) | Creates a Route53 MX entry for the custom MAIL FROM domain. | `bool` | `true` | no |\n| \u003ca name=\"input_custom_spf_enabled\"\u003e\u003c/a\u003e [custom\\_spf\\_enabled](#input\\_custom\\_spf\\_enabled) | Creates a Route53 SPF TXT entry for the custom MAIL FROM domain. | `bool` | `true` | no |\n| \u003ca name=\"input_delimiter\"\u003e\u003c/a\u003e [delimiter](#input\\_delimiter) | Delimiter to be used between ID elements.\u003cbr\u003eDefaults to `-` (hyphen). Set to `\"\"` to use no delimiter at all. | `string` | `null` | no |\n| \u003ca name=\"input_descriptor_formats\"\u003e\u003c/a\u003e [descriptor\\_formats](#input\\_descriptor\\_formats) | Describe additional descriptors to be output in the `descriptors` output map.\u003cbr\u003eMap of maps. Keys are names of descriptors. Values are maps of the form\u003cbr\u003e`{\u003cbr\u003e   format = string\u003cbr\u003e   labels = list(string)\u003cbr\u003e}`\u003cbr\u003e(Type is `any` so the map values can later be enhanced to provide additional options.)\u003cbr\u003e`format` is a Terraform format string to be passed to the `format()` function.\u003cbr\u003e`labels` is a list of labels, in order, to pass to `format()` function.\u003cbr\u003eLabel values will be normalized before being passed to `format()` so they will be\u003cbr\u003eidentical to how they appear in `id`.\u003cbr\u003eDefault is `{}` (`descriptors` output will be empty). | `any` | `{}` | no |\n| \u003ca name=\"input_domain\"\u003e\u003c/a\u003e [domain](#input\\_domain) | The domain to create the SES identity for. | `string` | n/a | yes |\n| \u003ca name=\"input_enabled\"\u003e\u003c/a\u003e [enabled](#input\\_enabled) | Set to false to prevent the module from creating any resources | `bool` | `null` | no |\n| \u003ca name=\"input_environment\"\u003e\u003c/a\u003e [environment](#input\\_environment) | ID element. Usually used for region e.g. 'uw2', 'us-west-2', OR role 'prod', 'staging', 'dev', 'UAT' | `string` | `null` | no |\n| \u003ca name=\"input_iam_access_key_max_age\"\u003e\u003c/a\u003e [iam\\_access\\_key\\_max\\_age](#input\\_iam\\_access\\_key\\_max\\_age) | Maximum age of IAM access key (seconds). Defaults to 30 days. Set to 0 to disable expiration. | `number` | `2592000` | no |\n| \u003ca name=\"input_iam_allowed_resources\"\u003e\u003c/a\u003e [iam\\_allowed\\_resources](#input\\_iam\\_allowed\\_resources) | Specifies resource ARNs that are enabled for `var.iam_permissions`. Wildcards are acceptable. | `list(string)` | `[]` | no |\n| \u003ca name=\"input_iam_permissions\"\u003e\u003c/a\u003e [iam\\_permissions](#input\\_iam\\_permissions) | Specifies permissions for the IAM user. | `list(string)` | \u003cpre\u003e[\u003cbr\u003e  \"ses:SendRawEmail\"\u003cbr\u003e]\u003c/pre\u003e | no |\n| \u003ca name=\"input_id_length_limit\"\u003e\u003c/a\u003e [id\\_length\\_limit](#input\\_id\\_length\\_limit) | Limit `id` to this many characters (minimum 6).\u003cbr\u003eSet to `0` for unlimited length.\u003cbr\u003eSet to `null` for keep the existing setting, which defaults to `0`.\u003cbr\u003eDoes not affect `id_full`. | `number` | `null` | no |\n| \u003ca name=\"input_label_key_case\"\u003e\u003c/a\u003e [label\\_key\\_case](#input\\_label\\_key\\_case) | Controls the letter case of the `tags` keys (label names) for tags generated by this module.\u003cbr\u003eDoes not affect keys of tags passed in via the `tags` input.\u003cbr\u003ePossible values: `lower`, `title`, `upper`.\u003cbr\u003eDefault value: `title`. | `string` | `null` | no |\n| \u003ca name=\"input_label_order\"\u003e\u003c/a\u003e [label\\_order](#input\\_label\\_order) | The order in which the labels (ID elements) appear in the `id`.\u003cbr\u003eDefaults to [\"namespace\", \"environment\", \"stage\", \"name\", \"attributes\"].\u003cbr\u003eYou can omit any of the 6 labels (\"tenant\" is the 6th), but at least one must be present. | `list(string)` | `null` | no |\n| \u003ca name=\"input_label_value_case\"\u003e\u003c/a\u003e [label\\_value\\_case](#input\\_label\\_value\\_case) | Controls the letter case of ID elements (labels) as included in `id`,\u003cbr\u003eset as tag values, and output by this module individually.\u003cbr\u003eDoes not affect values of tags passed in via the `tags` input.\u003cbr\u003ePossible values: `lower`, `title`, `upper` and `none` (no transformation).\u003cbr\u003eSet this to `title` and set `delimiter` to `\"\"` to yield Pascal Case IDs.\u003cbr\u003eDefault value: `lower`. | `string` | `null` | no |\n| \u003ca name=\"input_labels_as_tags\"\u003e\u003c/a\u003e [labels\\_as\\_tags](#input\\_labels\\_as\\_tags) | Set of labels (ID elements) to include as tags in the `tags` output.\u003cbr\u003eDefault is to include all labels.\u003cbr\u003eTags with empty values will not be included in the `tags` output.\u003cbr\u003eSet to `[]` to suppress all generated tags.\u003cbr\u003e**Notes:**\u003cbr\u003e  The value of the `name` tag, if included, will be the `id`, not the `name`.\u003cbr\u003e  Unlike other `null-label` inputs, the initial setting of `labels_as_tags` cannot be\u003cbr\u003e  changed in later chained modules. Attempts to change it will be silently ignored. | `set(string)` | \u003cpre\u003e[\u003cbr\u003e  \"default\"\u003cbr\u003e]\u003c/pre\u003e | no |\n| \u003ca name=\"input_mail_from_domain\"\u003e\u003c/a\u003e [mail\\_from\\_domain](#input\\_mail\\_from\\_domain) | Subdomain (of the `domain`) which is to be used as MAIL FROM address (Required for DMARC validation).\u003cbr\u003eSpecify only the subdomain part as the FQDN is inferred from the `domain` variable. | `string` | `\"\"` | no |\n| \u003ca name=\"input_name\"\u003e\u003c/a\u003e [name](#input\\_name) | ID element. Usually the component or solution name, e.g. 'app' or 'jenkins'.\u003cbr\u003eThis is the only ID element not also included as a `tag`.\u003cbr\u003eThe \"name\" tag is set to the full `id` string. There is no tag with the value of the `name` input. | `string` | `null` | no |\n| \u003ca name=\"input_namespace\"\u003e\u003c/a\u003e [namespace](#input\\_namespace) | ID element. Usually an abbreviation of your organization name, e.g. 'eg' or 'cp', to help ensure generated IDs are globally unique | `string` | `null` | no |\n| \u003ca name=\"input_regex_replace_chars\"\u003e\u003c/a\u003e [regex\\_replace\\_chars](#input\\_regex\\_replace\\_chars) | Terraform regular expression (regex) string.\u003cbr\u003eCharacters matching the regex will be removed from the ID elements.\u003cbr\u003eIf not set, `\"/[^a-zA-Z0-9-]/\"` is used to remove all characters other than hyphens, letters and digits. | `string` | `null` | no |\n| \u003ca name=\"input_ses_group_enabled\"\u003e\u003c/a\u003e [ses\\_group\\_enabled](#input\\_ses\\_group\\_enabled) | Creates a group with permission to send emails from SES domain. | `bool` | `true` | no |\n| \u003ca name=\"input_ses_group_name\"\u003e\u003c/a\u003e [ses\\_group\\_name](#input\\_ses\\_group\\_name) | The name of the IAM group to create. If empty the module will calculate name from a context (recommended). | `string` | `\"\"` | no |\n| \u003ca name=\"input_ses_group_path\"\u003e\u003c/a\u003e [ses\\_group\\_path](#input\\_ses\\_group\\_path) | The IAM Path of the group to create. | `string` | `\"/\"` | no |\n| \u003ca name=\"input_ses_user_enabled\"\u003e\u003c/a\u003e [ses\\_user\\_enabled](#input\\_ses\\_user\\_enabled) | Creates user with permission to send emails from SES domain. | `bool` | `true` | no |\n| \u003ca name=\"input_stage\"\u003e\u003c/a\u003e [stage](#input\\_stage) | ID element. Usually used to indicate role, e.g. 'prod', 'staging', 'source', 'build', 'test', 'deploy', 'release' | `string` | `null` | no |\n| \u003ca name=\"input_tags\"\u003e\u003c/a\u003e [tags](#input\\_tags) | Additional tags (e.g. `{'BusinessUnit': 'XYZ'}`).\u003cbr\u003eNeither the tag keys nor the tag values will be modified by this module. | `map(string)` | `{}` | no |\n| \u003ca name=\"input_tenant\"\u003e\u003c/a\u003e [tenant](#input\\_tenant) | ID element \\_(Rarely used, not included by default)\\_. A customer identifier, indicating who this instance of a resource is for | `string` | `null` | no |\n| \u003ca name=\"input_verify_dkim\"\u003e\u003c/a\u003e [verify\\_dkim](#input\\_verify\\_dkim) | If provided the module will create Route53 DNS records used for DKIM verification. | `bool` | `false` | no |\n| \u003ca name=\"input_verify_domain\"\u003e\u003c/a\u003e [verify\\_domain](#input\\_verify\\_domain) | If provided the module will create Route53 DNS records used for domain verification. | `bool` | `false` | no |\n| \u003ca name=\"input_zone_id\"\u003e\u003c/a\u003e [zone\\_id](#input\\_zone\\_id) | Route53 parent zone ID. If provided (not empty), the module will create Route53 DNS records used for verification. | `string` | `\"\"` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_access_key_id\"\u003e\u003c/a\u003e [access\\_key\\_id](#output\\_access\\_key\\_id) | The SMTP user which is access key ID. |\n| \u003ca name=\"output_secret_access_key\"\u003e\u003c/a\u003e [secret\\_access\\_key](#output\\_secret\\_access\\_key) | The IAM secret for usage with SES API. This will be written to the state file in plain text. |\n| \u003ca name=\"output_ses_dkim_tokens\"\u003e\u003c/a\u003e [ses\\_dkim\\_tokens](#output\\_ses\\_dkim\\_tokens) | A list of DKIM Tokens which, when added to the DNS Domain as CNAME records, allows for receivers to verify that emails were indeed authorized by the domain owner. |\n| \u003ca name=\"output_ses_domain_identity_arn\"\u003e\u003c/a\u003e [ses\\_domain\\_identity\\_arn](#output\\_ses\\_domain\\_identity\\_arn) | The ARN of the SES domain identity |\n| \u003ca name=\"output_ses_domain_identity_verification_token\"\u003e\u003c/a\u003e [ses\\_domain\\_identity\\_verification\\_token](#output\\_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 domain has authorised SES to act on their behalf. The domain identity will be in state 'verification pending' until this is done. See below for an example of how this might be achieved when the domain is hosted in Route 53 and managed by Terraform. Find out more about verifying domains in Amazon SES in the AWS SES docs. |\n| \u003ca name=\"output_ses_group_name\"\u003e\u003c/a\u003e [ses\\_group\\_name](#output\\_ses\\_group\\_name) | The IAM group name |\n| \u003ca name=\"output_ses_smtp_password\"\u003e\u003c/a\u003e [ses\\_smtp\\_password](#output\\_ses\\_smtp\\_password) | The SMTP password. This will be written to the state file in plain text. |\n| \u003ca name=\"output_user_arn\"\u003e\u003c/a\u003e [user\\_arn](#output\\_user\\_arn) | The ARN assigned by AWS for this user. |\n| \u003ca name=\"output_user_name\"\u003e\u003c/a\u003e [user\\_name](#output\\_user\\_name) | Normalized IAM user name. |\n| \u003ca name=\"output_user_unique_id\"\u003e\u003c/a\u003e [user\\_unique\\_id](#output\\_user\\_unique\\_id) | The unique ID assigned by AWS. |\n\n## Breaking Changes\n\nPlease consult [BREAKING\\_CHANGES.md](BREAKING\\_CHANGES.md) for more information about version\nhistory and compatibility.\n\n## Contributing\n\nPlease read [CONTRIBUTING.md](CONTRIBUTING.md) for details on the process for\ncontributing to this project.\n\nBe mindful of our [Code of Conduct](CODE\\_OF\\_CONDUCT.md).\n\n## We're hiring\n\nLook for current openings on BambooHR https://nventive.bamboohr.com/careers/\n\n## Stay in touch\n\n[nventive.com](https://nventive.com/) | [Linkedin](https://www.linkedin.com/company/nventive/) | [Instagram](https://www.instagram.com/hellonventive/) | [YouTube](https://www.youtube.com/channel/UCFQyvGEKMO10hEyvCqprp5w) | [Spotify](https://open.spotify.com/show/0lsxfIb6Ttm76jB4wgutob)\n\u003c!-- END_TF_DOCS --\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnventive%2Fterraform-aws-ses","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnventive%2Fterraform-aws-ses","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnventive%2Fterraform-aws-ses/lists"}