Skip to content
31 changes: 31 additions & 0 deletions solutions/cross-regional-bucket/fully-configurable/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,34 @@ output "cos_instance_guid" {
description = "The guid of the COS instance containing the created bucket."
value = local.cos_instance_guid
}

##############################################################################
# CROSS REGIONAL BUCKET Next Steps URLs outputs
##############################################################################

output "next_steps_text" {
value = "Your cross-regional bucket is created."
description = "Next steps text"
}

output "next_step_primary_label" {
value = "Go to your cross-regional bucket"
description = "Primary label"
}

output "next_step_primary_url" {
value = "https://cloud.ibm.com/objectstorage/${urlencode(var.existing_cos_instance_crn)}?&bucket=${module.cos.buckets[local.bucket_config[0].bucket_name].bucket_name}&bucketRegion=${local.bucket_config[0].cross_region_location}&endpoint=s3.direct.${local.bucket_config[0].cross_region_location}.cloud-object-storage.appdomain.cloud&paneId=bucket_overview"
description = "Primary URL"
}

output "next_step_secondary_label" {
value = "Learn how to add some objects to your bucket"
description = "Secondary label"
}

output "next_step_secondary_url" {
value = "https://cloud.ibm.com/docs/cloud-object-storage"
description = "Secondary URL"
}

##############################################################################
31 changes: 31 additions & 0 deletions solutions/cross-regional-bucket/security-enforced/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,34 @@ output "cos_instance_crn" {
description = "The CRN of the COS instance containing the created bucket."
value = var.existing_cos_instance_crn
}

##############################################################################
# CROSS REGIONAL BUCKET Next Steps URLs outputs
##############################################################################

output "next_steps_text" {
value = module.cross_regional_bucket.next_steps_text
description = "Next steps text"
}

output "next_step_primary_label" {
value = module.cross_regional_bucket.next_step_primary_label
description = "Primary label"
}

output "next_step_primary_url" {
value = module.cross_regional_bucket.next_step_primary_url
description = "Primary URL"
}

output "next_step_secondary_label" {
value = module.cross_regional_bucket.next_step_secondary_label
description = "Secondary label"
}

output "next_step_secondary_url" {
value = module.cross_regional_bucket.next_step_secondary_url
description = "Secondary URL"
}

##############################################################################
31 changes: 31 additions & 0 deletions solutions/instance/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,34 @@ output "service_credential_secret_groups" {
description = "Service credential secret groups"
value = length(local.service_credential_secrets) > 0 ? module.secrets_manager_service_credentials[0].secret_groups : null
}

##############################################################################
# CLOUD OBJECT STORAGE Next Steps URLs outputs
##############################################################################

output "next_steps_text" {
value = "Your Cloud Object Storage instance is created."
description = "Next steps text"
}

output "next_step_primary_label" {
value = "Go to Cloud Object Storage instance"
description = "Primary label"
}

output "next_step_primary_url" {
value = "https://cloud.ibm.com/objectstorage/${urlencode(module.cos.cos_instance_crn)}?paneId=manage"
description = "Primary URL"
}

output "next_step_secondary_label" {
value = "Learn more about Cloud Object Storage"
description = "Secondary label"
}

output "next_step_secondary_url" {
value = "https://cloud.ibm.com/docs/cloud-object-storage"
description = "Secondary URL"
}

##############################################################################
31 changes: 31 additions & 0 deletions solutions/regional-bucket/fully-configurable/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,34 @@ output "cos_instance_guid" {
description = "The guid of the COS instance containing the created bucket."
value = local.cos_instance_guid
}

##############################################################################
# REGIONAL BUCKET Next Steps URLs outputs
##############################################################################

output "next_steps_text" {
value = "Your regional Bucket is created."
description = "Next steps text"
}

output "next_step_primary_label" {
value = "Go to your regional bucket"
description = "Primary label"
}

output "next_step_primary_url" {
value = "https://cloud.ibm.com/objectstorage/${urlencode(var.existing_cos_instance_crn)}?&bucket=${module.cos.buckets[local.bucket_config[0].bucket_name].bucket_name}&bucketRegion=${local.bucket_config[0].region_location}&endpoint=s3.direct.${local.bucket_config[0].region_location}.cloud-object-storage.appdomain.cloud&paneId=bucket_overview"
description = "Primary URL"
}

output "next_step_secondary_label" {
value = "Learn how to add some objects to your bucket"
description = "Secondary label"
}

output "next_step_secondary_url" {
value = "https://cloud.ibm.com/docs/cloud-object-storage"
description = "Secondary URL"
}

##############################################################################
31 changes: 31 additions & 0 deletions solutions/regional-bucket/security-enforced/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,34 @@ output "cos_instance_crn" {
description = "The CRN of the COS instance containing the created bucket."
value = var.existing_cos_instance_crn
}

##############################################################################
# REGIONAL BUCKET Next Steps URLs outputs
##############################################################################

output "next_steps_text" {
value = module.regional_bucket.next_steps_text
description = "Next steps text"
}

output "next_step_primary_label" {
value = module.regional_bucket.next_step_primary_label
description = "Primary label"
}

output "next_step_primary_url" {
value = module.regional_bucket.next_step_primary_url
description = "Primary URL"
}

output "next_step_secondary_label" {
value = module.regional_bucket.next_step_secondary_label
description = "Secondary label"
}

output "next_step_secondary_url" {
value = module.regional_bucket.next_step_secondary_url
description = "Secondary URL"
}

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