Skip to content

Commit c4543db

Browse files
authored
feat: added new outputs to the Observability DA: cloud_logs_resource_group_id, cloud_logs_ingress_endpoint and cloud_logs_ingress_private_endpoint (#246)
1 parent 7cae6e6 commit c4543db

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

solutions/instances/outputs.tf

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,21 @@ output "cloud_logs_name" {
2929
description = "The name of the provisioned Cloud Logs instance."
3030
}
3131

32+
output "cloud_logs_resource_group_id" {
33+
value = var.cloud_logs_provision ? module.observability_instance.cloud_logs_resource_group_id : null
34+
description = "The resource group where Cloud Logs instance resides."
35+
}
36+
37+
output "cloud_logs_ingress_endpoint" {
38+
value = var.cloud_logs_provision ? module.observability_instance.cloud_logs_ingress_endpoint : null
39+
description = "The public ingress endpoint of the provisioned Cloud Logs instance."
40+
}
41+
42+
output "cloud_logs_ingress_private_endpoint" {
43+
value = var.cloud_logs_provision ? module.observability_instance.cloud_logs_ingress_private_endpoint : null
44+
description = "The private ingress endpoint of the provisioned Cloud Logs instance."
45+
}
46+
3247
## Cloud logs policies
3348
output "logs_policies_details" {
3449
value = length(var.cloud_logs_policies) > 0 ? module.observability_instance.logs_policies_details : null

0 commit comments

Comments
 (0)