generated from notablehealth/terraform-aws-module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutputs.tf
62 lines (58 loc) · 2.08 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
###------------
### S3
###------------
output "s3_bucket_arn" {
description = "S3 Bucket ARN"
value = module.s3_bucket.bucket_arn
}
output "s3_bucket_domain_name" {
description = "FQDN of S3 bucket"
value = module.s3_bucket.bucket_domain_name
}
output "s3_bucket_id" {
description = "S3 Bucket Name (aka ID)"
value = module.s3_bucket.bucket_id
}
output "s3_bucket_region" {
description = "S3 Bucket region"
value = module.s3_bucket.bucket_region
}
###------------
### SES
###------------
output "ses_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."
value = module.ses.ses_dkim_tokens
}
output "ses_domain_identity_arn" {
description = "The ARN of the SES domain identity"
value = module.ses.ses_domain_identity_arn
}
output "ses_domain_identity_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."
value = module.ses.ses_domain_identity_verification_token
}
output "ses_group_name" {
description = "The IAM group name"
value = module.ses.ses_group_name
}
output "ses_rules_recipients" {
description = "SES receipt rules"
value = { for k, rule in aws_ses_receipt_rule.s3 : k => rule.recipients }
}
output "ses_rules_s3_action" {
description = "SES receipt rules"
value = { for k, rule in aws_ses_receipt_rule.s3 : k => rule.s3_action[*] }
}
output "ses_spf_record" {
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."
value = module.ses.spf_record
}
output "ses_user_arn" {
description = "SMTP user ARN"
value = module.ses.user_arn
}
output "ses_user_name" {
description = "SMTP user name"
value = module.ses.user_name
}