-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathoutput.tf
22 lines (18 loc) · 939 Bytes
/
output.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# ------------------------------------------------------------------------------
# OUTPUT CALCULATED VARIABLES (prefer full objects)
# ------------------------------------------------------------------------------
output "iam" {
description = "The iam resource objects that define the access to the resources."
value = { for key, iam in module.iam : key => iam.iam }
}
# ------------------------------------------------------------------------------
# OUTPUT ALL RESOURCES AS FULL OBJECTS
# ------------------------------------------------------------------------------
output "secret" {
description = "All `google_secret_manager_secret` resource attributes."
value = one(google_secret_manager_secret.secret)
}
output "policy_binding" {
description = "All attributes of the created policy_bindings mineiros-io/secret-manager-iam/google module when using policy bindings."
value = module.policy_bindings
}