-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathoutputs.tf
33 lines (26 loc) · 1.23 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
# Module : ACM CERTIFICATE
# Description : Terraform ACM Certificate module outputs.
output "id" {
value = var.import_certificate ? join("", aws_acm_certificate.import-cert[*].id) : join("", aws_acm_certificate.cert[*].id)
description = "The ID of the Certificate."
}
output "arn" {
value = var.import_certificate ? join("", aws_acm_certificate.import-cert[*].arn) : join("", aws_acm_certificate.cert[*].arn)
description = "The ARN of the Certificate."
}
output "tags" {
value = module.labels.tags
description = "A mapping of tags to assign to the resource."
}
output "acm_certificate_domain_validation_options" {
value = flatten(aws_acm_certificate.cert[*].domain_validation_options)
description = "A list of attributes to feed into other resources to complete certificate validation. Can have more than one element, e.g. if SANs are defined. Only set if DNS-validation was used."
}
output "acm_certificate_status" {
value = try(aws_acm_certificate.cert[*].status, "")
description = "Status of the certificate."
}
output "validation_route53_record_fqdns" {
value = [for record in aws_route53_record.default : record.fqdn]
description = "List of FQDNs built using the zone domain and name."
}