-
Notifications
You must be signed in to change notification settings - Fork 2
/
outputs.tf
31 lines (25 loc) · 1.31 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
# ----------------------------------------------------------------------------------------------------------------------
# OUTPUT CALCULATED VARIABLES (prefer full objects)
# ----------------------------------------------------------------------------------------------------------------------
# ----------------------------------------------------------------------------------------------------------------------
# OUTPUT ALL RESOURCES AS FULL OBJECTS
# ----------------------------------------------------------------------------------------------------------------------
output "topic" {
value = try(google_pubsub_topic.topic[0], {})
description = "The created pub sub resource."
}
output "iam" {
description = "The iam resource objects that define access to the GCS bucket."
value = module.iam
}
output "subscription" {
description = "All attributes of the created subscriptions."
value = module.subscription
}
# ----------------------------------------------------------------------------------------------------------------------
# OUTPUT MODULE CONFIGURATION
# ----------------------------------------------------------------------------------------------------------------------
output "module_enabled" {
description = "Whether or not the module is enabled."
value = var.module_enabled
}