File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -129,22 +129,22 @@ output "watsonx_governance_dashboard_url" {
129
129
}
130
130
131
131
output "watsonx_project_id" {
132
- value = module. configure_project [0 ]. watsonx_project_id
132
+ value = var . watsonx_project_name == null || var . watsonx_project_name == " " ? null : module. configure_project [0 ]. watsonx_project_id
133
133
description = " The ID watsonx project that's created."
134
134
}
135
135
136
136
output "watsonx_project_location" {
137
- value = module. configure_project [0 ]. watsonx_project_location
137
+ value = var . watsonx_project_name == null || var . watsonx_project_name == " " ? null : module. configure_project [0 ]. watsonx_project_location
138
138
description = " The location watsonx project that's created."
139
139
}
140
140
141
141
output "watsonx_project_bucket_name" {
142
- value = module. configure_project [0 ]. watsonx_project_bucket_name
142
+ value = var . watsonx_project_name == null || var . watsonx_project_name == " " ? null : module. configure_project [0 ]. watsonx_project_bucket_name
143
143
description = " The name of the COS bucket created by the watsonx project."
144
144
}
145
145
146
146
output "watsonx_project_url" {
147
- value = " https://dataplatform.cloud.ibm.com/projects/${ module . configure_project [0 ]. watsonx_project_id } ?context=wx&sync_account_id=${ ibm_resource_instance . machine_learning_instance . account_id } "
147
+ value = var . watsonx_project_name == null || var . watsonx_project_name == " " ? null : " https://dataplatform.cloud.ibm.com/projects/${ module . configure_project [0 ]. watsonx_project_id } ?context=wx&sync_account_id=${ ibm_resource_instance . machine_learning_instance . account_id } "
148
148
description = " The URL of the watsonx project that's created."
149
149
}
150
150
You can’t perform that action at this time.
0 commit comments