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 = var.id
}
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 {
Parameters
-
arn
optional computed - string -
domain
required - string -
id
optional computed - string -
timeouts
single block-
create
optional - string
-
Explanation in Terraform Registry
Represents a successful verification of an SES domain identity. Most commonly, this resource is used together with
aws_route53_record
andaws_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.