forked from oracle-quickstart/oci-arch-tomcat-mds
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
151 lines (120 loc) · 2.79 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
## Copyright © 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
variable "release" {
description = "Reference Architecture Release (OCI Architecture Center)"
default = "1.6.1"
}
variable "tenancy_ocid" {}
variable "region" {}
variable "compartment_ocid" {}
variable "fingerprint" {}
variable "user_ocid" {}
variable "private_key_path" {}
variable "availablity_domain_name" {
default = ""
}
variable "mysql_db_system_admin_password" {}
variable "use_bastion_service" {
default = false
}
variable "availablity_domain_number" {
default = 0
}
variable "ssh_public_key" {
default = ""
}
variable "numberOfNodes" {
default = 2
}
variable "tomcat_version" {
default = "9.0.45"
}
variable "igw_display_name" {
default = "internet-gateway"
}
variable "vcn01_cidr_block" {
default = "10.0.0.0/16"
}
variable "vcn01_dns_label" {
default = "vcn01"
}
variable "vcn01_display_name" {
default = "vcn01"
}
variable "vcn01_subnet_pub01_cidr_block" {
default = "10.0.1.0/24"
}
variable "vcn01_subnet_pub01_display_name" {
default = "vcn01_subnet_pub01"
}
variable "vcn01_subnet_pub02_cidr_block" {
default = "10.0.2.0/24"
}
variable "vcn01_subnet_pub02_display_name" {
default = "vcn01_subnet_pub02"
}
variable "vcn01_subnet_app01_cidr_block" {
default = "10.0.10.0/24"
}
variable "vcn01_subnet_app01_display_name" {
default = "vcn01_subnet_app01"
}
variable "vcn01_subnet_db01_cidr_block" {
default = "10.0.20.0/24"
}
variable "vcn01_subnet_db01_display_name" {
default = "vcn01_subnet_db01"
}
variable "lb_shape" {
default = "flexible"
}
variable "flex_lb_min_shape" {
default = "10"
}
variable "flex_lb_max_shape" {
default = "100"
}
variable "InstanceShape" {
default = "VM.Standard.E3.Flex"
}
variable "InstanceFlexShapeOCPUS" {
default = 1
}
variable "InstanceFlexShapeMemory" {
default = 1
}
variable "instance_os" {
description = "Operating system for compute instances"
default = "Oracle Linux"
}
variable "linux_os_version" {
description = "Operating system version for all Linux instances"
default = "8"
# default = "7.9"
}
variable "mysql_db_system_admin_username" {
default = "admin"
}
variable "mysql_db_name" {
default = "mydb"
}
# variable mysql_db_system_availability_domain {}
# variable mysql_configuration_id {}
variable "mysql_shape_name" {
default = "MySQL.VM.Standard.E3.1.8GB"
}
variable "mysql_is_highly_available" {
default = false
}
variable "mysql_db_system_backup_policy_is_enabled" {
default = true
}
variable "mysql_db_system_data_storage_size_in_gb" {
default = 50
}
variable "mysql_db_system_display_name" {
default = "mysql_service"
}
variable "mysql_db_system_hostname_label" {
default = "mysqlhost"
}