-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathoutputs.tf
35 lines (28 loc) · 1.28 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
# ------------------------------------------------------------------------------
# OUTPUT CALCULATED VARIABLES (prefer full objects)
# ------------------------------------------------------------------------------
# ------------------------------------------------------------------------------
# OUTPUT ALL RESOURCES AS FULL OBJECTS
# ------------------------------------------------------------------------------
output "zone" {
description = "The created Hosted Zone(s)."
value = try(aws_route53_zone.zone, {})
}
output "records" {
description = "A list of all created records."
value = try(aws_route53_record.record, {})
}
output "delegation_set" {
description = "The outputs of the created delegation set."
value = try(aws_route53_delegation_set.delegation_set[0], {})
}
# ------------------------------------------------------------------------------
# OUTPUT ALL INPUT VARIABLES
# ------------------------------------------------------------------------------
# ------------------------------------------------------------------------------
# OUTPUT MODULE CONFIGURATION
# ------------------------------------------------------------------------------
output "module_enabled" {
description = "Whether the module is enabled"
value = var.module_enabled
}