AWS Amazon SES Domain Identity Verification

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

aws_ses_domain_identity_verification (Terraform)

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

Example Usage from GitHub
resource "aws_ses_domain_identity_verification" "verification" {
  domain     =
resource "aws_ses_domain_identity_verification" "ses_domain_identity_verification" {
  count = var.enable_ses_domain_identity_verification ? 1 : 0

  domain = var.ses_domain_identity_verification_domain != "" ? var.ses_domain_identity_verification_domain : (var.enable_ses_domain_identity ? aws_ses_domain_identity.ses_domain_identity[count.index].id : null)

  lifecycle {
resource "aws_ses_domain_identity_verification" "this" {
  domain = var.domain

  dynamic "timeouts" {
    for_each = var.timeouts
    content {

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

Represents a successful verification of an SES domain identity. Most commonly, this resource is used together with aws_route53_record and aws_ses_domain_identity to request an SES domain identity, deploy the required DNS verification records, and wait for verification to complete.

WARNING: This resource implements a part of the verification workflow. It does not represent a real-world entity in AWS, therefore changing or deleting this resource on its own has no immediate effect.

CloudFormation Example

CloudFormation code does not have the related resource.

Frequently asked questions

What is AWS Amazon SES Domain Identity Verification?

AWS Amazon SES Domain Identity Verification 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 Verification?

For Terraform, the genstackio/terraform-aws-ses, SebastianUA/terraform and niveklabs/aws 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.