generated from oracle-quickstart/oci-quickstart-template
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathinput.auto.tfvars.template
62 lines (56 loc) · 2.76 KB
/
input.auto.tfvars.template
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
# 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.
#---------------------------------------------------------------------------------------------------------------------
# 1. Rename this file to <project-name>.auto.tfvars, where <project-name> is a name of your choice.
# 2. Provide values for "Tenancy Connectivity Variables".
# 3. Replace <REPLACE-WITH-*> placeholders with appropriate values.
#----------------------------------------------------------------------------------------------------------------------
#---------------------------------------
# Tenancy Connectivity Variables
#---------------------------------------
tenancy_ocid = "<tenancy OCID>" # Get this from OCI Console (after logging in, go to top-right-most menu item and click option "Tenancy: <your tenancy name>").
user_ocid = "<user OCID>" # Get this from OCI Console (after logging in, go to top-right-most menu item and click option "My profile").
fingerprint = "<PEM key fingerprint>" # The fingerprint can be gathered from your user account. In the "My profile page, click "API keys" on the menu in left hand side.
private_key_path = "<path to the private key>" # This is the full path on your local system to the API signing private key.
private_key_password = "" # This is the password that protects the private key, if any.
region = "<your tenancy home region>" # This is your tenancy home region.
#---------------------------------------
# Input variable
#---------------------------------------
nlb_configuration = {
default_compartment_id = "<REPLACE-WITH-COMPARTMENT-OCID>"
default_subnet_id = "<REPLACE-WITH-SUBNET-OCID>"
nlbs = {
VISION-NLB = {
display_name = "vision-nlb"
is_private = true
security = {
zpr_attributes = {namespace = "<REPLACE-WITH-SEC-NAMESPACE>", attr_name = "<REPLACE-WITH-SEC-ATTR-NAME>", attr_value = "<REPLACE-WITH-SEC-ATTR-VALUE>"}
}
listeners = {
LISTENER-1 = {
port = "<REPLACE-WITH-LISTENER-PORT-NUMBER>"
protocol = "TCP"
backend_set = {
name = "default-backend-set"
health_checker = {
protocol = "TCP"
}
backends = {
BACKEND-1 = {
name = "backend-1"
port = "<REPLACE-WITH-PORT-NUMBER>"
ip_address = "<REPLACE-WITH-IP-ADDRESS>"
}
BACKEND-2 = {
name = "backend-2"
port = "<REPLACE-WITH-PORT-NUMBER>"
ip_address = "<REPLACE-WITH-IP-ADDRESS>"
}
}
}
}
}
}
}
}