diff --git a/patterns/vpc/outputs.tf b/patterns/vpc/outputs.tf index 8b2f9cd6b..84fe246d7 100644 --- a/patterns/vpc/outputs.tf +++ b/patterns/vpc/outputs.tf @@ -141,3 +141,33 @@ output "schematics_workspace_id" { } ############################################################################## + +############################################################################## +# VPC Next Steps URLs outputs +############################################################################## + +output "next_steps_text" { + value = "Your Virtual Private Clouds are ready." + description = "Next steps text" +} + +output "next_step_primary_label" { + value = "Go to Virtual Private Clouds" + description = "Primary label" +} + +output "next_step_primary_url" { + value = "https://cloud.ibm.com/infrastructure/network/vpcs" + description = "Primary URL" +} + +output "next_step_secondary_label" { + value = "Learn more about VPCs" + description = "Secondary label" +} + +output "next_step_secondary_url" { + value = "https://cloud.ibm.com/docs/vpc?topic=vpc-about-vpc" + description = "Secondary URL" +} +############################################################################## diff --git a/patterns/vsi-extension/outputs.tf b/patterns/vsi-extension/outputs.tf index f784e7451..a3194d06d 100644 --- a/patterns/vsi-extension/outputs.tf +++ b/patterns/vsi-extension/outputs.tf @@ -2,3 +2,29 @@ output "vsi_data" { description = "Details of the VSI including name, id, zone, and primary ipv4 address, VPC Name, and floating IP." value = module.vsi } + +output "next_steps_text" { + value = "Your Virtual Server Instances are ready." + description = "Next steps text" +} + +output "next_step_primary_label" { + value = "Go to Virtual Server Instances" + description = "Primary label" +} + +output "next_step_primary_url" { + value = "https://cloud.ibm.com/infrastructure/compute/vs" + description = "Primary URL" +} + + +output "next_step_secondary_label" { + value = "Expose app to internet" + description = "Secondary label" +} + +output "next_step_secondary_url" { + value = "https://cloud.ibm.com/docs/secure-infrastructure-vpc?topic=secure-infrastructure-vpc-access-public-app" + description = "Secondary URL" +} diff --git a/patterns/vsi-quickstart/outputs.tf b/patterns/vsi-quickstart/outputs.tf index 388b1db7e..e2ace9362 100644 --- a/patterns/vsi-quickstart/outputs.tf +++ b/patterns/vsi-quickstart/outputs.tf @@ -1,8 +1,33 @@ ############################################################################## # Output Variables ############################################################################## - output "config" { description = "Output configuration as encoded JSON" value = module.landing_zone.config } + +output "next_steps_text" { + value = module.landing_zone.next_steps_text + description = "Next steps text" +} + +output "next_step_primary_label" { + value = module.landing_zone.next_step_primary_label + description = "Primary label" +} + +output "next_step_primary_url" { + value = module.landing_zone.next_step_primary_url + description = "Primary URL" +} + + +output "next_step_secondary_label" { + value = module.landing_zone.next_step_secondary_label + description = "Secondary label" +} + +output "next_step_secondary_url" { + value = module.landing_zone.next_step_secondary_url + description = "Secondary URL" +} diff --git a/patterns/vsi/module/outputs.tf b/patterns/vsi/module/outputs.tf index 665d389af..5f4a1b240 100644 --- a/patterns/vsi/module/outputs.tf +++ b/patterns/vsi/module/outputs.tf @@ -160,3 +160,30 @@ output "config" { } ############################################################################## + + +output "next_steps_text" { + value = "Your Virtual Server Instances are ready." + description = "Next steps text" +} + +output "next_step_primary_label" { + value = "Go to Virtual Server Instances" + description = "Primary label" +} + +output "next_step_primary_url" { + value = "https://cloud.ibm.com/infrastructure/compute/vs" + description = "Primary URL" +} + + +output "next_step_secondary_label" { + value = "Expose app to internet" + description = "Secondary label" +} + +output "next_step_secondary_url" { + value = "https://cloud.ibm.com/docs/secure-infrastructure-vpc?topic=secure-infrastructure-vpc-access-public-app" + description = "Secondary URL" +} diff --git a/patterns/vsi/outputs.tf b/patterns/vsi/outputs.tf index 9b067278d..6660d3096 100644 --- a/patterns/vsi/outputs.tf +++ b/patterns/vsi/outputs.tf @@ -158,3 +158,29 @@ output "config" { description = "Output configuration as encoded JSON" value = module.vsi_landing_zone.config } + +output "next_steps_text" { + value = module.vsi_landing_zone.next_steps_text + description = "Next steps text" +} + +output "next_step_primary_label" { + value = module.vsi_landing_zone.next_step_primary_label + description = "Primary label" +} + +output "next_step_primary_url" { + value = module.vsi_landing_zone.next_step_primary_url + description = "Primary URL" +} + + +output "next_step_secondary_label" { + value = module.vsi_landing_zone.next_step_secondary_label + description = "Secondary label" +} + +output "next_step_secondary_url" { + value = module.vsi_landing_zone.next_step_secondary_url + description = "Secondary URL" +}