Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions solutions/fully-configurable/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ locals {
cluster_config_endpoint_type = var.cluster_config_endpoint_type
is_vpc_cluster = var.is_vpc_cluster
cloud_logs_instance_id = split(".", var.cloud_logs_ingress_endpoint)[0]
region = regex("[a-z]+-[a-z]+", var.cloud_logs_ingress_endpoint)
}

module "trusted_profile" {
Expand Down
29 changes: 29 additions & 0 deletions solutions/fully-configurable/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,33 @@
##############################################################################


##############################################################################
# Cloud automation for Logs Agent- Next Steps URLs outputs
##############################################################################

output "next_steps_text" {
value = "Your Logs Instance Environment is ready."
description = "Next steps text"
}

output "next_step_primary_label" {
value = "Go to Logs Instance Dashboard"
description = "Primary label"
}

output "next_step_primary_url" {
value = "https://dashboard.${local.region}.logs.cloud.ibm.com/${local.cloud_logs_instance_id}/#/dashboard"
description = "Primary URL"
}

output "next_step_secondary_label" {
value = "Learn more about IBM Cloud logging"
description = "Secondary label"
}

output "next_step_secondary_url" {
value = "https://cloud.ibm.com/docs/cloud-logs?topic=cloud-logs-agent-about#agent-about-ov"
description = "Secondary URL"
}

##############################################################################