AWS Amazon SES Domain Identity

This page shows how to write Terraform for Amazon SES Domain Identity and write them securely.

aws_ses_domain_identity (Terraform)

The Domain Identity in Amazon SES can be configured in Terraform with the resource name aws_ses_domain_identity. The following sections describe 4 examples of how to use the resource and its parameters.

Example Usage from GitHub
resource "aws_ses_domain_identity" "aegames_org" {
  domain = ""

resource "aws_ses_domain_dkim" "aegames_org" {
  domain = aws_ses_domain_identity.aegames_org.domain
resource "aws_ses_domain_identity" "this" {
  domain = var.domain
resource "aws_ses_domain_identity" "this" {
  domain = var.domain

resource "aws_ses_domain_dkim" "this" {
  domain = var.domain
resource "aws_ses_domain_identity" "devopsloft" {
  domain = var.DOMAIN_1

resource "aws_ses_domain_identity" "lmb" {
  domain = var.DOMAIN_2

Review your Terraform file for AWS best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).


Explanation in Terraform Registry

Provides an SES domain identity resource

CloudFormation Example

CloudFormation code does not have the related resource.

Frequently asked questions

What is AWS Amazon SES Domain Identity?

AWS Amazon SES Domain Identity is a resource for Amazon SES of Amazon Web Service. Settings can be wrote in Terraform.

Where can I find the example code for the AWS Amazon SES Domain Identity?

For Terraform, the neinteractiveliterature/neil-terraform, niveklabs/aws and gutogalego/reddit-demo-django source code examples are useful. See the Terraform Example section for further details.


Automate config file reviews on your commits

Fix issues in your infrastructure as code with auto-generated patches.