-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconstants.tf
29 lines (27 loc) · 1.26 KB
/
constants.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
28
29
# 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.
locals {
SOURCE_LOGGING = "logging"
SOURCE_STREAMING = "streaming"
#SOURCE_MONITORING = "monitoring"
TARGET_OBJECT_STORAGE = "objectstorage"
TARGET_STREAMING = "streaming"
TARGET_FUNCTIONS = "functions"
TARGET_LOGGING_ANALYTICS = "logginganalytics"
TARGET_NOTIFICATIONS = "notifications"
SCH_ACTIVE_STATE = "ACTIVE"
SCH_INACTIVE_STATE = "INACTIVE"
TASK_LOG_RULE = "logrule"
sources = [local.SOURCE_LOGGING, local.SOURCE_STREAMING]
targets = [local.TARGET_OBJECT_STORAGE, local.TARGET_STREAMING, local.TARGET_FUNCTIONS, local.TARGET_LOGGING_ANALYTICS, local.TARGET_NOTIFICATIONS]
target_resource_dependencies = {
(local.TARGET_OBJECT_STORAGE) : "bucket_name"
(local.TARGET_STREAMING) : "stream_id"
(local.TARGET_FUNCTIONS) : "function_id"
(local.TARGET_LOGGING_ANALYTICS) : "log_group_id"
(local.TARGET_NOTIFICATIONS) : "topic_id"
}
subscription_protocols = ["EMAIL","CUSTOM_HTTPS","SLACK","PAGERDUTY","ORACLE_FUNCTIONS","SMS"]
storage_tier_types = ["Archive", "Standard"]
retention_rules_time_units = ["DAYS", "YEARS"]
}