Skip to content

Commit

Permalink
feat: added new outputs to the Observability DA: `cloud_logs_resource…
Browse files Browse the repository at this point in the history
…_group_id`, `cloud_logs_ingress_endpoint` and `cloud_logs_ingress_private_endpoint` (#246)
  • Loading branch information
Aashiq-J authored Jan 20, 2025
1 parent 7cae6e6 commit c4543db
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions solutions/instances/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,21 @@ output "cloud_logs_name" {
description = "The name of the provisioned Cloud Logs instance."
}

output "cloud_logs_resource_group_id" {
value = var.cloud_logs_provision ? module.observability_instance.cloud_logs_resource_group_id : null
description = "The resource group where Cloud Logs instance resides."
}

output "cloud_logs_ingress_endpoint" {
value = var.cloud_logs_provision ? module.observability_instance.cloud_logs_ingress_endpoint : null
description = "The public ingress endpoint of the provisioned Cloud Logs instance."
}

output "cloud_logs_ingress_private_endpoint" {
value = var.cloud_logs_provision ? module.observability_instance.cloud_logs_ingress_private_endpoint : null
description = "The private ingress endpoint of the provisioned Cloud Logs instance."
}

## Cloud logs policies
output "logs_policies_details" {
value = length(var.cloud_logs_policies) > 0 ? module.observability_instance.logs_policies_details : null
Expand Down

0 comments on commit c4543db

Please sign in to comment.