Retrieve the SES domain identity
data "aws_ses_domain_identity" "example" {
domain = "example.com"
}
This data source exports the following attributes in addition to the arguments above:
arn
- ARN of the domain identity.domain
- Name of the domainverification_token
- Code which when added to the domain as a TXT record will signal to SES that the owner of the domain has authorized SES to act on their behalf.