-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathoutputs.tf
27 lines (22 loc) · 970 Bytes
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright (c) 2023 Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
output "log_groups" {
description = "The log groups."
value = var.enable_output ? oci_logging_log_group.these : null
}
output "service_logs" {
description = "The logs."
value = var.enable_output ? merge(oci_logging_log.these, oci_logging_log.flow_logs, oci_logging_log.bucket_logs) : null
}
output "custom_logs" {
description = "The custom logs."
value = var.enable_output ? oci_logging_log.these_custom : null
}
output "custom_logs_agent_config" {
description = "The agent configurations for custom logs."
value = var.enable_output ? oci_logging_unified_agent_configuration.these : null
}
output "logging_analytics_log_groups" {
description = "Logging analytics log groups"
value = var.enable_output ? oci_log_analytics_log_analytics_log_group.these : null
}