-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathoutputs.tf
26 lines (21 loc) · 1.2 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
# ------------------------------------------------------------------------------
# OUTPUT CALCULATED VARIABLES (prefer full objects)
# ------------------------------------------------------------------------------
# ------------------------------------------------------------------------------
# OUTPUT ALL RESOURCES AS FULL OBJECTS
# ------------------------------------------------------------------------------
output "google_bigquery_dataset" {
description = "The google_bigquery_dataset resource object created by this module."
value = try(google_bigquery_dataset.dataset[0], {})
}
# remap iam to reduce one level of access (iam[]. instead of iam[].iam.)
output "iam" {
description = "The resources created by `mineiros-io/bigquery-dataset-iam/google` module."
value = { for key, iam in module.iam : key => iam.iam }
}
# ------------------------------------------------------------------------------
# OUTPUT ALL INPUT VARIABLES
# ------------------------------------------------------------------------------
# ------------------------------------------------------------------------------
# OUTPUT MODULE CONFIGURATION
# ------------------------------------------------------------------------------