Skip to content

Commit f5ce5a5

Browse files
authored
Improve outputs of DC missions 3061 and 3248 for QAS (#271)
1 parent 2b21c24 commit f5ce5a5

File tree

3 files changed

+28
-4
lines changed

3 files changed

+28
-4
lines changed

released/discovery_center/mission_3061/step2/main.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,18 +102,18 @@ resource "cloudfoundry_service_instance" "abap_si" {
102102
###
103103
# Creation of service key for ABAP Development Tools (ADT)
104104
###
105-
resource "cloudfoundry_service_credential_binding" "scb1" {
105+
resource "cloudfoundry_service_credential_binding" "abap_adt_key" {
106106
type = "key"
107-
name = "${var.abap_sid}_adtkey"
107+
name = "${var.abap_sid}_adt_key"
108108
service_instance = cloudfoundry_service_instance.abap_si.id
109109
}
110110

111111
###
112112
# Creation of service key for COMM Arrangement
113113
###
114-
resource "cloudfoundry_service_credential_binding" "abap_ipskey" {
114+
resource "cloudfoundry_service_credential_binding" "abap_ips_key" {
115115
type = "key"
116-
name = "${var.abap_sid}_ipskey"
116+
name = "${var.abap_sid}_ips_key"
117117
service_instance = cloudfoundry_service_instance.abap_si.id
118118
parameters = jsonencode({
119119
scenario_id = "SAP_COM_0193"
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
output "abab_service_instance_id" {
2+
value = cloudfoundry_service_instance.abap_si.id
3+
description = "The ID of the ABAP service instance."
4+
}
5+
6+
output "abap_dashboard_url" {
7+
value = cloudfoundry_service_instance.abap_si.dashboard_url
8+
description = "The URL of the ABAP service instance dashboard."
9+
}
10+
11+
output "abab_adt_key_id" {
12+
value = cloudfoundry_service_credential_binding.abap_adt_key.id
13+
description = "The ID of the ABAP service key for ADT."
14+
}
15+
16+
output "abab_ips_key_id" {
17+
value = cloudfoundry_service_credential_binding.abap_ips_key.id
18+
description = "The ID of the ABAP service key for COMM Arrangement."
19+
}

released/discovery_center/mission_3248_trial/step2/outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ output "abab_trial_service_instance_id" {
33
description = "The ID of the ABAP service instance."
44
}
55

6+
output "abap_trial_dashboard_url" {
7+
value = cloudfoundry_service_instance.abap_trial.dashboard_url
8+
description = "The URL of the ABAP Trial dashboard."
9+
}
10+
611
output "abab_trial_service_key_id" {
712
value = cloudfoundry_service_credential_binding.abap_trial_service_key.id
813
description = "The ID of the ABAP service key."

0 commit comments

Comments
 (0)