forked from apooniajjn/oci-arch-wordpress-mds
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
162 lines (127 loc) · 3.08 KB
/
variables.tf
File metadata and controls
162 lines (127 loc) · 3.08 KB
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
## Copyright © 2020, 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 "tenancy_ocid" {}
variable "compartment_ocid" {}
variable "region" {}
variable "fingerprint" {}
variable "private_key_path" {}
variable "user_ocid" {}
variable "availablity_domain_name" {
default = ""
}
variable "ssh_public_key" {
default = ""
}
variable "lb_shape" {
default = "flexible"
}
variable "flex_lb_min_shape" {
default = "10"
}
variable "flex_lb_max_shape" {
default = "100"
}
variable "release" {
description = "Reference Architecture Release (OCI Architecture Center)"
default = "1.4.1"
}
variable "vcn" {
default = "wpmdsvcn"
}
variable "vcn_cidr" {
description = "VCN's CIDR IP Block"
default = "10.0.0.0/16"
}
variable "numberOfNodes" {
description = "Create one or more nodes with WordPress"
default = 2
}
variable "use_shared_storage" {
description = "Decide if you want to use shared NFS on OCI FSS"
default = true
}
variable "node_shape" {
default = "VM.Standard.E3.Flex"
}
variable "node_flex_shape_ocpus" {
default = 1
}
variable "node_flex_shape_memory" {
default = 10
}
variable "use_bastion_service" {
default = false
}
variable "bastion_shape" {
default = "VM.Standard.E3.Flex"
}
variable "bastion_flex_shape_ocpus" {
default = 1
}
variable "bastion_flex_shape_memory" {
default = 1
}
variable "label_prefix" {
default = ""
}
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"
}
variable "admin_password" {
description = "Password for the admin user for MySQL Database Service"
}
variable "admin_username" {
description = "MySQL Database Service Username"
default = "admin"
}
variable "mysql_shape" {
default = "MySQL.VM.Standard.E3.1.8GB"
}
variable "mysql_is_highly_available" {
default = false
}
variable "wp_name" {
description = "WordPress Database User Name."
default = "wp"
}
variable "wp_password" {
description = "WordPress Database User Password."
# default = "MyWPpassw0rd!"
}
variable "wp_schema" {
description = "WordPress MySQL Schema"
default = "wordpress"
}
variable "wp_plugins" {
description = "WordPress Plugins"
default = "hello-dolly,elementor"
}
variable "wp_themes" {
description = "A list of WordPress themes to install."
default = "lodestar,twentysixteen"
}
variable "wp_site_url" {
description = "WordPress Site URL"
default = "example.com"
}
variable "wp_site_title" {
description = "WordPress Site Title"
default = "Yet Another WordPress Site"
}
variable "wp_site_admin_user" {
description = "WordPress Site Admin Username"
default = "admin"
}
variable "wp_site_admin_pass" {
description = "WordPress Site Admin Password"
default = ""
}
variable "wp_site_admin_email" {
description = "WordPress Site Admin Email"
default = "admin@example.com"
}