-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
30 lines (24 loc) · 1.15 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
# ------------------------------------------------------------------------------
# OUTPUT CALCULATED VARIABLES (prefer full objects)
# ------------------------------------------------------------------------------
# ------------------------------------------------------------------------------
# OUTPUT ALL RESOURCES AS FULL OBJECTS
# ------------------------------------------------------------------------------
output "router" {
description = "The outputs of the created Cloud Router."
value = try(google_compute_router.router[0], null)
}
output "nats" {
description = "The outputs of the create Coud NATs."
value = try(google_compute_router_nat.nat, {})
}
# ------------------------------------------------------------------------------
# OUTPUT ALL INPUT VARIABLES
# ------------------------------------------------------------------------------
# ------------------------------------------------------------------------------
# OUTPUT MODULE CONFIGURATION
# ------------------------------------------------------------------------------
output "module_enabled" {
description = "Whether the module is enabled."
value = var.module_enabled
}