-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdata_sources.tf
58 lines (44 loc) · 1.51 KB
/
data_sources.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
# Copyright (c) 2022, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
data "oci_identity_user" "coa_demo_executer" {
#Required
user_id = var.user_id
}
data "oci_identity_availability_domains" "availability_domains" {
#Required
compartment_id = var.tenancy_id
}
data "oci_core_images" "this" {
#Required
compartment_id = var.default_compartment_id
#Optional
display_name = var.image_name
}
data "template_file" "flask_ATP_py_template" {
template = file("./scripts/flask_ATP.py")
vars = {
ATP_password = var.adb_password
ATP_alias = join("", [var.adb_db_name, "_medium"])
oracle_instant_client_version_short = var.oracle_instant_client_version_short
}
}
data "template_file" "flask_ATP_sh_template" {
template = file("./scripts/flask_ATP.sh")
vars = {
oracle_instant_client_version_short = var.oracle_instant_client_version_short
}
}
data "template_file" "flask_bootstrap_template" {
template = file("./scripts/flask_bootstrap.sh")
vars = {
ATP_tde_wallet_zip_file = "adb_wallet.zip"
oracle_instant_client_version = var.oracle_instant_client_version
oracle_instant_client_version_short = var.oracle_instant_client_version_short
}
}
data "template_file" "sqlnet_ora_template" {
template = file("./scripts/sqlnet.ora")
vars = {
oracle_instant_client_version_short = var.oracle_instant_client_version_short
}
}