-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
24 lines (20 loc) · 1.38 KB
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
output "ses_domain_identity_arn" {
value = try(aws_ses_domain_identity.ses_domain.arn, "")
description = "The ARN of the SES domain identity"
}
output "ses_domain_identity_verification_token" {
value = try(aws_ses_domain_identity.ses_domain.verification_token, "")
description = "A code which when added to the domain as a TXT record will signal to SES that the owner of the domain has authorised SES to act on their behalf. The domain identity will be in state 'verification pending' until this is done. See below for an example of how this might be achieved when the domain is hosted in Route 53 and managed by Terraform. Find out more about verifying domains in Amazon SES in the AWS SES docs."
}
output "ses_dkim_tokens" {
value = try(aws_ses_domain_dkim.ses_domain_dkim.dkim_tokens, "")
description = "A list of DKIM Tokens which, when added to the DNS Domain as CNAME records, allows for receivers to verify that emails were indeed authorized by the domain owner."
}
output "spf_record" {
value = try(aws_route53_record.aws_ses_spf_record[0].fqdn, "")
description = "The SPF record for the domain. This is a TXT record that should be added to the domain's DNS settings to allow SES to send emails on behalf of the domain."
}
output "mail_from_domain" {
value = try(aws_ses_domain_mail_from.custom_mail_from[*].mail_from_domain, "")
description = "The custom MAIL FROM domain"
}