@@ -24,29 +24,39 @@ output "tasks_state_store_name" {
2424
2525output "cloud_logs_name" {
2626 description = " Name of the cloud logs instance."
27- value = module. cloud_logs . name
27+ value = var . enable_cloud_logs ? module. cloud_logs [ 0 ] . name : null
2828}
2929
3030output "cloud_logs_crn" {
3131 description = " CRN of the cloud logs instance."
32- value = module. cloud_logs . crn
32+ value = var . enable_cloud_logs ? module. cloud_logs [ 0 ] . crn : null
3333}
3434
35- output "cloud_monitoring__crn " {
35+ output "cloud_monitoring_crn " {
3636 description = " CRN of the cloud monitoring instance."
37- value = module. cloud_monitoring . crn
37+ value = local . enable_cloud_monitoring ? module. cloud_monitoring . crn : null
3838}
3939
4040output "cloud_monitoring_crn" {
4141 description = " Name of the cloud monitoring instance."
42- value = module. cloud_monitoring . name
42+ value = local . enable_cloud_monitoring ? module. cloud_monitoring . name : null
4343}
4444
4545output "cloud_object_storage_crn" {
4646 description = " Name of the cloud object storage instance."
4747 value = module. cos . cos_instance_name
4848}
4949
50+ output "vpc_crn" {
51+ description = " CRN of the VPC."
52+ value = module. vpc . vpc_crn
53+ }
54+
55+ output "vpc_name" {
56+ description = " Name of the VPC."
57+ value = module. vpc . vpc_name
58+ }
59+
5060output "next_steps_text" {
5161 value = " Now, visit the Code Engine project URL to verify secrets, network configurations, and ensure readiness for workload deployment."
5262 description = " Next steps text"
@@ -63,4 +73,4 @@ output "next_step_primary_url" {
6373}
6474
6575
66-
76+
0 commit comments