-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
182 lines (143 loc) · 2.56 KB
/
variables.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
// Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
variable "ogg_dbms" {
default = "Oracle"
}
variable "ogg_edition" {
default = "Microservices"
}
variable "ogg_version" {
default = "19.1.0.0.201013"
}
variable "region" {}
variable "compartment_ocid" {}
variable "availability_domain" { default = "" }
variable "image_compartment_id" {
default = ""
}
variable "create_new_network" {
default = false
}
//
// Network
//
variable "vcn_compartment_id" {
default = ""
}
variable "vcn_cidr_block" {
default = "10.2.0.0/16"
}
variable "subnet_compartment_id" {
default = ""
}
variable "subnet_cidr_block" {
default = "10.2.1.0/24"
}
//
// VM
//
variable "assign_public_ip" {
default = true
}
// Resource display name
variable "display_name" {
default = "Oracle GoldenGate Microservices Edition for Oracle 19.1.0.0.201013"
}
// DNS names
variable "hostname_label" {
default = "ogg19cora"
}
variable "vcn_dns_label" {
default = "vcn"
}
variable "subnet_dns_label" {
default = "subnet"
}
// Instance shape to create
variable "compute_shape" {
default = "VM.Standard2.4"
}
// Custom Volume Sizes
variable "custom_volume_sizes" {
default = false
}
// OGG Boot volume size
variable "boot_size_in_gbs" {
default = "50"
}
// OGG Swap volume size
variable "swap_size_in_gbs" {
default = "256"
}
// OGG Trail data volume size
variable "trails_size_in_gbs" {
default = "512"
}
// OGG Deployment volume size
variable "deployments_size_in_gbs" {
default = "50"
}
// OGG Cache Manager volume size
variable "cacheManager_size_in_gbs" {
default = "256"
}
//
// Pre-existing resources
//
// OGG Cache Manager volume
variable "cacheManager_volume_id" {
default = ""
}
// OGG Deployment volume
variable "deployments_volume_id" {
default = ""
}
// OGG Trails volume
variable "trails_volume_id" {
default = ""
}
variable "vcn_id" {
default = ""
}
variable "subnet_id" {
default = ""
}
//
// GoldenGate configuration
//
variable deployments_json {
default = ""
}
variable deployment_1_name {
default = ""
}
variable deployment_1_dbms {
default = ""
}
variable deployment_1_adb {
default = false
}
variable deployment_1_adb_compartment_id {
default = ""
}
variable deployment_1_adb_id {
default = ""
}
variable deployment_2_name {
default = ""
}
variable deployment_2_dbms {
default = ""
}
variable deployment_2_adb {
default = false
}
variable deployment_2_adb_compartment_id {
default = ""
}
variable deployment_2_adb_id {
default = ""
}
// Public SSH key for 'opc' user
variable "ssh_public_key" {
default = ""
}