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.
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"]
}
The following arguments are supported:
domain - (Required) The domain name of the SES domain identity to verify. In addition to all arguments above, the following attributes are exported:
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.
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/aws/r/ses_domain_identity_verification.html