-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathoutputs.tf
54 lines (46 loc) · 1.51 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
output "arn" {
description = "The Amazon Resource Name (ARN) of the Hosted Zone."
value = aws_route53_zone.private.arn
}
output "id" {
description = "The Hosted Zone ID. This can be referenced by zone records."
value = aws_route53_zone.private.id
}
output "name" {
description = "The name of the Hosted Zone."
value = aws_route53_zone.private.name
}
output "namespace" {
description = "The namespace of the Hosted Zone."
value = var.namespace
}
output "description" {
description = "A description for the Hosted Zone."
value = aws_route53_zone.private.comment
}
output "primary_name_server" {
description = "The Route 53 name server that created the SOA record."
value = aws_route53_zone.private.primary_name_server
}
output "name_servers" {
description = "A list of name servers in associated (or default) delegation set."
value = aws_route53_zone.private.name_servers
}
output "vpc_associations" {
description = "A list of associated VPCs with a private Hosted Zone."
value = [
for association in aws_route53_zone.private.vpc : {
region = association.vpc_region
vpc_id = association.vpc_id
}
]
}
output "cross_account_vpc_association_authorizations" {
description = "A list of authorized VPCs in cross accounts to associate with a private Hosted Zone."
value = [
for authorization in values(aws_route53_vpc_association_authorization.this) : {
region = authorization.vpc_region
vpc_id = authorization.vpc_id
}
]
}