-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadb.tf
69 lines (63 loc) · 3.07 KB
/
adb.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
## Copyright (c) 2021, Oracle and/or its affiliates.
## All rights reserved. The Universal Permissive License (UPL), Version 1.0 as shown at http://oss.oracle.com/licenses/upl
module "adb" {
count = var.deploy_adb == "True" ? 1 : 0
source = "./modules/oci-terraform-adb/"
# source = "github.com/paalonso/oci-terraform-adb?ref=v0.2"
# general oci parameters
default_compartment_id = var.default_compartment_id
# adb parameters
adb = {
compartment_id = var.default_compartment_id
db_name = var.adb_db_name
display_name = var.adb_display_name
admin_password = var.adb_password
are_primary_whitelisted_ips_used = null
ocpu_count = null
cpu_core_count = "1"
customer_contacts = []
data_storage_size_in_gb = null
data_storage_size_in_tbs = "1"
data_safe_status = "NOT_REGISTERED"
db_version = var.adb_db_version
db_workload = var.adb_workload
defined_tags = {}
freeform_tags = {}
is_access_control_enabled = null
is_auto_scaling_enabled = true
is_data_guard_enabled = false
is_free_tier = false
is_mtls_connection_required = true
is_refreshable_clone = null
license_model = "BRING_YOUR_OWN_LICENSE"
nsg_ids = null
refreshable_mode = null
operations_insights_status = "NOT_ENABLED"
private_endpoint_label = var.adb_db_name
rotate_key_trigger = null
scheduled_operations = []
standby_whitelisted_ips = []
state = "AVAILABLE"
subnet_id = oci_core_subnet.coa_atp_private_subnet.id
nsg_ids = tolist([oci_core_network_security_group.ATPSecurityGroup.id])
whitelisted_ips = []
autonomous_container_database_id = null
autonomous_database_backup_id = null
autonomous_database_id = null
clone_type = null
autonomous_maintenance_schedule_type = "REGULAR"
is_dedicated = false
is_preview_version_with_service_terms_accepted = null
kms_key_id = ""
source = null
source_id = null
switchover_to = null
timestamp = null
vault_id = ""
}
}
resource "local_file" "adb_wallet_file" {
count = var.deploy_adb == "True" ? 1 : 0
content_base64 = module.adb[count.index].adb_database.adb_wallet_content
filename = "${path.module}/adb_wallet.zip"
}