-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathoutputs.tf
48 lines (39 loc) · 1.47 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
36
37
38
39
40
41
42
43
44
45
46
47
48
##############################################################################
# Outputs
##############################################################################
output "key_protect_guid" {
value = ibm_resource_instance.key_protect_instance.guid
description = "GUID of the Key Protect instance"
}
output "key_protect_id" {
value = ibm_resource_instance.key_protect_instance.id
description = "ID of the Key Protect instance"
}
output "key_protect_crn" {
value = ibm_resource_instance.key_protect_instance.crn
description = "CRN of the Key Protect instance"
}
output "key_protect_name" {
value = ibm_resource_instance.key_protect_instance.name
description = "Name of the Key Protect instance"
}
output "key_protect_account_id" {
value = ibm_resource_instance.key_protect_instance.account_id
description = "The account ID of the Key Protect instance."
}
output "key_protect_instance_policies" {
value = local.instance_policies
description = "Instance Polices of the Key Protect instance"
}
output "kp_private_endpoint" {
description = "Instance private endpoint URL"
value = local.kp_endpoints["endpoints.private"]
}
output "kp_public_endpoint" {
description = "Instance public endpoint URL"
value = local.kp_endpoints["endpoints.public"]
}
output "cbr_rule_ids" {
description = "CBR rule ids created to restrict Key Protect"
value = length(module.cbr_rule[*]) > 0 ? module.cbr_rule[*].rule_id : null
}