-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathvariables.tf
More file actions
87 lines (75 loc) · 2.41 KB
/
variables.tf
File metadata and controls
87 lines (75 loc) · 2.41 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
# Mandatory
variable "location" {
description = "The name of Azure Region where the Exadata Infrastructure should be. e.g. useast"
type = string
}
variable "name" {
description = "The name of the Exadata Infrastructure at Azure"
type = string
default = "odaaz-infra"
}
variable "resource_group_name" {
description = "The name of Resource Group in Azure"
type = string
default = "rg-oradb"
}
variable "zone" {
description = "The availablty zone of the Exadata Infrastructure in Azure"
type = string
}
variable "compute_count" {
description = "The number of compute servers for the Exadata infrastructure."
type = number
default = 2
}
variable "storage_count" {
description = "The number of storage servers for the Exadata infrastructure."
type = number
default = 3
}
variable "shape" {
type = string
default = "Exadata.X11M"
description = "The shape of the infrastructure. Valid value Exadata.X9M and Exadata.X11M"
validation {
condition = contains(["Exadata.X9M", "Exadata.X11M"], var.shape)
error_message = "Valid value Exadata.X9M and Exadata.X11M"
}
}
# Optional
variable "customer_contacts" {
description = "The email address used by Oracle to send notifications regarding databases and infrastructure. Provide up to 10 unique maintenance contact email addresses."
type = list(string)
default = []
}
variable "maintenance_window" {
description = "maintenanceWindow properties"
type = object({
patching_mode = string
preference = string
lead_time_in_weeks = optional(number)
months = optional(list(number))
weeks_of_month = optional(list(number))
days_of_week =optional(list(number))
hours_of_day = optional(list(number))
})
default = {
patching_mode = "Rolling"
preference = "NoPreference"
}
}
variable "tags" {
description = "Resource tags for the Cloud Exadata Infrastructure"
type = map(string)
default = null
}
variable "storage_server_type" {
type = string
default = null
description = "The storage server model type of the cloud Exadata infrastructure resource. Null for X9M. Default to X11M-HC for X11M"
}
variable "database_server_type" {
type = string
default = null
description = "The database server model type of the cloud Exadata infrastructure resource. Null for X9M. Default to X11M for X11M"
}