-
-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathoutputs.tf
29 lines (24 loc) · 859 Bytes
/
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
output "parent_zone_id" {
value = join("", data.aws_route53_zone.parent_zone.*.zone_id)
description = "ID of the hosted zone to contain this record"
}
output "parent_zone_name" {
value = join("", data.aws_route53_zone.parent_zone.*.name)
description = "Name of the hosted zone to contain this record"
}
output "zone_id" {
value = join("", aws_route53_zone.default.*.zone_id)
description = "Route53 DNS Zone ID"
}
output "zone_name" {
value = replace(join("", aws_route53_zone.default.*.name), "/\\.$/", "")
description = "Route53 DNS Zone name"
}
output "zone_name_servers" {
value = try(aws_route53_zone.default[0].name_servers, [])
description = "Route53 DNS Zone Name Servers"
}
output "fqdn" {
value = join("", aws_route53_zone.default.*.name)
description = "Fully-qualified domain name"
}