File tree Expand file tree Collapse file tree 3 files changed +27
-18
lines changed
Expand file tree Collapse file tree 3 files changed +27
-18
lines changed Original file line number Diff line number Diff line change @@ -54,4 +54,4 @@ resource "oci_database_db_system" "test_db_system" {
5454 freeform_tags = {
5555 " Department" = " Finance"
5656 }
57- }
57+ }
Original file line number Diff line number Diff line change @@ -64,4 +64,4 @@ variable "db_config" {
6464 node_count = number
6565 data_storage_percentage = number
6666 })
67- }
67+ }
Original file line number Diff line number Diff line change @@ -246,24 +246,14 @@ variable "admin_use_autonomous" {
246246 type = bool
247247}
248248
249- # availability domains
250- variable "availability_domains" {
251- description = " ADs where to provision non-OKE resources"
252- default = {
253- bastion = 1
254- admin = 1
255- }
256- type = map
257- }
258-
259249# availability domains
260250variable "availability_domains" {
261251 description = " ADs where to provision compute resources"
262- type = " map"
252+ type = map
263253
264254 default = {
265255 bastion = 1
266- db = 1
256+ db = 1
267257 }
268258}
269259
@@ -272,76 +262,95 @@ variable "availability_domains" {
272262variable "db_system_shape" {
273263 description = " compute shape of db nodes"
274264 default = " VM.Standard2.8"
265+ type = string
275266}
276267
277268variable "cpu_core_count" {
278269 default = " 2"
270+ type = number
279271}
280272
281273variable "db_edition" {
282274 default = " ENTERPRISE_EDITION"
275+ type = string
283276}
284277
285278variable "db_admin_password" {
286279 default = " BEstrO0ng_#12"
280+ type = string
287281}
288282
289283variable "db_name" {
290284 default = " basedb"
285+ type = string
291286}
292287
293288variable "db_home_db_name" {
294289 default = " basedb2"
290+ type = string
295291}
296292
297293variable "db_version" {
298294 default = " 19.0.0.0"
295+ type = string
299296}
300297
301298variable "db_home_display_name" {
302299 default = " basedbhome"
300+ type = string
303301}
304302
305303variable "db_disk_redundancy" {
306304 default = " HIGH"
305+ type = string
307306}
308307
309308variable "db_system_display_name" {
310309 default = " basedb_system"
310+ type = string
311311}
312312
313313variable "hostname" {
314314 default = " myoracledb"
315+ type = string
315316}
316317
317318variable "n_character_set" {
318319 default = " AL16UTF16"
320+ type = string
319321}
320322
321323variable "character_set" {
322324 default = " AL32UTF8"
325+ type = string
323326}
324327
325328variable "db_workload" {
326329 default = " OLTP"
330+ type = string
327331}
328332
329333variable "pdb_name" {
330334 default = " pdb1"
335+ type = string
331336}
332337
333338variable "data_storage_size_in_gb" {
334- default = " 256"
339+ default = 256
340+ type = number
335341}
336342
337343variable "license_model" {
338344 default = " LICENSE_INCLUDED"
345+ type = string
339346}
340347
341348variable "node_count" {
342- default = " 1"
349+ default = 1
350+ type = number
343351}
344352
345353variable "data_storage_percentage" {
346- default = " 40"
347- }
354+ default = 40
355+ type = number
356+ }
You can’t perform that action at this time.
0 commit comments