File tree Expand file tree Collapse file tree 6 files changed +155
-1
lines changed Expand file tree Collapse file tree 6 files changed +155
-1
lines changed Original file line number Diff line number Diff line change 1010 call-terraform-ci-pipeline :
1111 uses : terraform-ibm-modules/common-pipeline-assets/.github/workflows/common-terraform-module-ci-v2.yml@v1.24.0
1212 secrets : inherit
13-
Original file line number Diff line number Diff line change @@ -30,3 +30,34 @@ output "cos_instance_guid" {
3030 description = " The guid of the COS instance containing the created bucket."
3131 value = local. cos_instance_guid
3232}
33+
34+ # #############################################################################
35+ # CROSS REGIONAL BUCKET Next Steps URLs outputs
36+ # #############################################################################
37+
38+ output "next_steps_text" {
39+ value = " Your cross-regional bucket is created."
40+ description = " Next steps text"
41+ }
42+
43+ output "next_step_primary_label" {
44+ value = " Go to your cross-regional bucket"
45+ description = " Primary label"
46+ }
47+
48+ output "next_step_primary_url" {
49+ 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"
50+ description = " Primary URL"
51+ }
52+
53+ output "next_step_secondary_label" {
54+ value = " Learn how to add some objects to your bucket"
55+ description = " Secondary label"
56+ }
57+
58+ output "next_step_secondary_url" {
59+ value = " https://cloud.ibm.com/docs/cloud-object-storage"
60+ description = " Secondary URL"
61+ }
62+
63+ # #############################################################################
Original file line number Diff line number Diff line change @@ -25,3 +25,34 @@ output "cos_instance_crn" {
2525 description = " The CRN of the COS instance containing the created bucket."
2626 value = var. existing_cos_instance_crn
2727}
28+
29+ # #############################################################################
30+ # CROSS REGIONAL BUCKET Next Steps URLs outputs
31+ # #############################################################################
32+
33+ output "next_steps_text" {
34+ value = module. cross_regional_bucket . next_steps_text
35+ description = " Next steps text"
36+ }
37+
38+ output "next_step_primary_label" {
39+ value = module. cross_regional_bucket . next_step_primary_label
40+ description = " Primary label"
41+ }
42+
43+ output "next_step_primary_url" {
44+ value = module. cross_regional_bucket . next_step_primary_url
45+ description = " Primary URL"
46+ }
47+
48+ output "next_step_secondary_label" {
49+ value = module. cross_regional_bucket . next_step_secondary_label
50+ description = " Secondary label"
51+ }
52+
53+ output "next_step_secondary_url" {
54+ value = module. cross_regional_bucket . next_step_secondary_url
55+ description = " Secondary URL"
56+ }
57+
58+ # #############################################################################
Original file line number Diff line number Diff line change @@ -47,3 +47,34 @@ output "service_credential_secret_groups" {
4747 description = " Service credential secret groups"
4848 value = length (local. service_credential_secrets ) > 0 ? module. secrets_manager_service_credentials [0 ]. secret_groups : null
4949}
50+
51+ # #############################################################################
52+ # CLOUD OBJECT STORAGE Next Steps URLs outputs
53+ # #############################################################################
54+
55+ output "next_steps_text" {
56+ value = " Your Cloud Object Storage instance is created."
57+ description = " Next steps text"
58+ }
59+
60+ output "next_step_primary_label" {
61+ value = " Go to Cloud Object Storage instance"
62+ description = " Primary label"
63+ }
64+
65+ output "next_step_primary_url" {
66+ value = " https://cloud.ibm.com/objectstorage/${ urlencode (module. cos . cos_instance_crn )} ?paneId=manage"
67+ description = " Primary URL"
68+ }
69+
70+ output "next_step_secondary_label" {
71+ value = " Learn more about Cloud Object Storage"
72+ description = " Secondary label"
73+ }
74+
75+ output "next_step_secondary_url" {
76+ value = " https://cloud.ibm.com/docs/cloud-object-storage"
77+ description = " Secondary URL"
78+ }
79+
80+ # #############################################################################
Original file line number Diff line number Diff line change @@ -30,3 +30,34 @@ output "cos_instance_guid" {
3030 description = " The guid of the COS instance containing the created bucket."
3131 value = local. cos_instance_guid
3232}
33+
34+ # #############################################################################
35+ # REGIONAL BUCKET Next Steps URLs outputs
36+ # #############################################################################
37+
38+ output "next_steps_text" {
39+ value = " Your regional bucket is created."
40+ description = " Next steps text"
41+ }
42+
43+ output "next_step_primary_label" {
44+ value = " Go to your regional bucket"
45+ description = " Primary label"
46+ }
47+
48+ output "next_step_primary_url" {
49+ 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"
50+ description = " Primary URL"
51+ }
52+
53+ output "next_step_secondary_label" {
54+ value = " Learn how to add some objects to your bucket"
55+ description = " Secondary label"
56+ }
57+
58+ output "next_step_secondary_url" {
59+ value = " https://cloud.ibm.com/docs/cloud-object-storage"
60+ description = " Secondary URL"
61+ }
62+
63+ # #############################################################################
Original file line number Diff line number Diff line change @@ -25,3 +25,34 @@ output "cos_instance_crn" {
2525 description = " The CRN of the COS instance containing the created bucket."
2626 value = var. existing_cos_instance_crn
2727}
28+
29+ # #############################################################################
30+ # REGIONAL BUCKET Next Steps URLs outputs
31+ # #############################################################################
32+
33+ output "next_steps_text" {
34+ value = module. regional_bucket . next_steps_text
35+ description = " Next steps text"
36+ }
37+
38+ output "next_step_primary_label" {
39+ value = module. regional_bucket . next_step_primary_label
40+ description = " Primary label"
41+ }
42+
43+ output "next_step_primary_url" {
44+ value = module. regional_bucket . next_step_primary_url
45+ description = " Primary URL"
46+ }
47+
48+ output "next_step_secondary_label" {
49+ value = module. regional_bucket . next_step_secondary_label
50+ description = " Secondary label"
51+ }
52+
53+ output "next_step_secondary_url" {
54+ value = module. regional_bucket . next_step_secondary_url
55+ description = " Secondary URL"
56+ }
57+
58+ # #############################################################################
You can’t perform that action at this time.
0 commit comments