Skip to content

Commit ce93ef7

Browse files
authored
feat: Added "Next steps" to the DA (#122)
1 parent f2e426e commit ce93ef7

File tree

2 files changed

+50
-0
lines changed

2 files changed

+50
-0
lines changed

solutions/fully-configurable/outputs.tf

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,28 @@ output "ingestion_endpoint_public" {
6161
value = local.create_cloud_monitoring ? module.cloud_monitoring[0].ingestion_endpoint_public : null
6262
description = "The Cloud Monitoring public ingestion endpoint."
6363
}
64+
65+
output "next_steps_text" {
66+
value = "Now, you can use Cloud Monitoring to monitor the performance and overall system health."
67+
description = "Next steps text"
68+
}
69+
70+
output "next_step_primary_label" {
71+
value = "Go to Cloud Monitoring"
72+
description = "Primary label"
73+
}
74+
75+
output "next_step_primary_url" {
76+
value = local.create_cloud_monitoring ? "https://cloud.ibm.com/observability/monitoring/${module.cloud_monitoring[0].guid}/overview" : "https://cloud.ibm.com/observability/monitoring/${module.existing_cloud_monitoring_crn_parser[0].service_instance}/overview"
77+
description = "Primary URL for the IBM Cloud Monitoring instance"
78+
}
79+
80+
output "next_step_secondary_label" {
81+
value = "Learn more about Cloud Monitoring"
82+
description = "Secondary label"
83+
}
84+
85+
output "next_step_secondary_url" {
86+
value = "https://cloud.ibm.com/docs/monitoring?topic=monitoring-getting-started"
87+
description = "Secondary URL"
88+
}

solutions/metrics-routing-account-settings/outputs.tf

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,28 @@ output "metrics_router_account_settings" {
66
description = "IBM Cloud metrics router account settings."
77
value = module.metrics_router_account_settings.metrics_router_settings
88
}
9+
10+
output "next_steps_text" {
11+
value = "IBM Cloud Metrics Routing account settings are configured."
12+
description = "Next steps text"
13+
}
14+
15+
output "next_step_primary_label" {
16+
value = "Go to Metrics Routing Account Settings"
17+
description = "Primary label"
18+
}
19+
20+
output "next_step_primary_url" {
21+
value = "https://cloud.ibm.com/observability/metrics-routing/settings"
22+
description = "Primary URL"
23+
}
24+
25+
output "next_step_secondary_label" {
26+
value = "Learn more about Metrics Routing Account Settings"
27+
description = "Secondary label"
28+
}
29+
30+
output "next_step_secondary_url" {
31+
value = "https://cloud.ibm.com/docs/metrics-router?topic=metrics-router-settings-about&interface=ui"
32+
description = "Secondary URL"
33+
}

0 commit comments

Comments
 (0)