AWS Amazon SES Email Identity

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

aws_ses_email_identity (Terraform)

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

Example Usage from GitHub

ses.tf#L1
resource "aws_ses_email_identity" "email_reciver" {
  email = var.email_reciver
}

resource "aws_ses_email_identity" "email_sender" {
  email = var.email_sender
ses.tf#L1
resource "aws_ses_email_identity" "recipient" {
  email = var.recipient_email
}

resource "aws_ses_email_identity" "sender" {
  count = var.sender_email != "" ? 1 : 0
email_identity.tf#L1
resource "aws_ses_email_identity" "source" {
  email = "asvr410@gmail.com"
}

resource "aws_ses_email_identity" "destination" {
  email = "sivaavuthu@gmail.com"
ses.tf#L1
resource "aws_ses_email_identity" "recipient" {
  email = var.recipient_email
}

resource "aws_ses_email_identity" "sender" {
  count = var.sender_email != "" ? 1 : 0
main.tf#L6
resource "aws_ses_email_identity" "sns_email" {
  email = var.sender_email
}

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).

Parameters

  • arn optional computed - string
  • email required - string
  • id optional computed - string

Explanation in Terraform Registry

Provides an SES email identity resource

CloudFormation Example

CloudFormation code does not have the related resource.

Frequently asked questions

What is AWS Amazon SES Email Identity?

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

For Terraform, the diego1q2w/personal-site, clopatofsky/website-ophtalmo and avuthusiva/Terraform_work source code examples are useful. See the Terraform Example section for further details.

security-icon

Automate config file reviews on your commits

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