generated from terraform-ibm-modules/terraform-ibm-module-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathoutputs.tf
28 lines (23 loc) · 1.22 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
########################################################################################################################
# Outputs
########################################################################################################################
output "capacity_crn" {
description = "The CRN of the MQ on Cloud capacity instance."
value = var.existing_mq_capacity_crn != null ? var.existing_mq_capacity_crn : resource.ibm_resource_instance.mqcloud_capacity[0].crn
}
output "capacity_guid" {
description = "The QUID of the created MQ on Cloud capacity instance."
value = var.existing_mq_capacity_crn != null ? local.existing_mq_capacity_guid : resource.ibm_resource_instance.mqcloud_capacity[0].id
}
output "deployment_crn" {
description = "The CRN of the created MQ on Cloud deployment instance."
value = resource.ibm_resource_instance.mqcloud_deployment.crn
}
output "deployment_guid" {
description = "The QUID of the created MQ on Cloud deployment instance."
value = resource.ibm_resource_instance.mqcloud_deployment.id
}
output "queue_manager_options" {
description = "The deployment service instance queue manager options."
value = data.ibm_mqcloud_queue_manager_options.options
}