» Resource: aws_ses_domain_identity_verification

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.

» Example Usage

resource "aws_ses_domain_identity" "example" {
  domain = "example.com"
}

resource "aws_route53_record" "example_amazonses_verification_record" {
  zone_id = "${aws_route53_zone.example.zone_id}"
  name    = "_amazonses.${aws_ses_domain_identity.example.id}"
  type    = "TXT"
  ttl     = "600"
  records = ["${aws_ses_domain_identity.example.verification_token}"]
}

resource "aws_ses_domain_identity_verification" "example_verification" {
  domain = "${aws_ses_domain_identity.example.id}"

  depends_on = ["aws_route53_record.example_amazonses_verification_record"]
}

» Argument Reference

The following arguments are supported:

  • domain - (Required) The domain name of the SES domain identity to verify.

» Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • id - The domain name of the domain identity.
  • arn - The ARN of the domain identity.

» Timeouts

acm_ses_domain_identity_verification provides the following Timeouts configuration options:

  • create - (Default 45m) How long to wait for a domain identity to be verified.