forked from cytopia/terraform-aws-route53-zone
-
Notifications
You must be signed in to change notification settings - Fork 1
/
outputs.tf
71 lines (54 loc) · 2.74 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
63
64
65
66
67
68
69
70
71
# -------------------------------------------------------------------------------------------------
# Route53 Delegation Sets
# -------------------------------------------------------------------------------------------------
output "delegation_sets" {
value = aws_route53_delegation_set.delegation_sets
description = "Created delegation sets."
}
# -------------------------------------------------------------------------------------------------
# Public Route53 Zones (All)
# -------------------------------------------------------------------------------------------------
output "public_all_zones" {
value = merge(
aws_route53_zone.public_root_zones,
aws_route53_zone.public_delegated_secondary_zones,
aws_route53_zone.public_delegated_tertiary_zones
)
description = "All created public zones."
}
# -------------------------------------------------------------------------------------------------
# Public Route53 Root Zones
# -------------------------------------------------------------------------------------------------
output "public_root_zones" {
value = aws_route53_zone.public_root_zones
description = "Created public root zones."
}
# -------------------------------------------------------------------------------------------------
# Public Route53 Subdomain Zones (secondary)
# -------------------------------------------------------------------------------------------------
output "public_delegated_secondary_zones" {
value = aws_route53_zone.public_delegated_secondary_zones
description = "Created public delegated secondary zones."
}
output "public_delegated_secondary_ns_records" {
value = aws_route53_record.public_delegated_secondary_ns_records
description = "Created NS records in your root zone for delegated secondary zones."
}
# -------------------------------------------------------------------------------------------------
# Public Route53 Subdomain Zones (tertiary)
# -------------------------------------------------------------------------------------------------
output "public_delegated_tertiary_zones" {
value = aws_route53_zone.public_delegated_tertiary_zones
description = "Created public delegated tertiary zones."
}
output "public_delegated_tertiary_ns_records" {
value = aws_route53_record.public_delegated_tertiary_ns_records
description = "Created NS records in your root zone for delegated tertiary zones."
}
# -------------------------------------------------------------------------------------------------
# Private Route53 Root Zones
# -------------------------------------------------------------------------------------------------
output "private_root_zones" {
value = aws_route53_zone.private_root_zones
description = "Created private root zones."
}