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
email_domains.tf#L1
resource "aws_ses_domain_identity" "aegames_org" {
domain = "aegames.org"
}
resource "aws_ses_domain_dkim" "aegames_org" {
domain = aws_ses_domain_identity.aegames_org.domain
main.tf#L7
resource "aws_ses_domain_identity" "this" {
domain = var.domain
}
ses.tf#L1
resource "aws_ses_domain_identity" "this" {
domain = var.domain
}
resource "aws_ses_domain_dkim" "this" {
domain = var.domain
devopsloft.tf#L117
resource "aws_ses_domain_identity" "devopsloft" {
domain = var.DOMAIN_1
}
resource "aws_ses_domain_identity" "lmb" {
domain = var.DOMAIN_2
Parameters
-
arn
optional computed - string -
domain
required - string -
id
optional computed - string -
verification_token
optional computed - string
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.