-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvars.tf
64 lines (55 loc) · 2.29 KB
/
vars.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
variable databases {
type = list(object({
name = string
ddl = optional(list(string))
dialect = optional(string)
enable_drop_protection = optional(bool)
version_retention_period = optional(string)
backup_schedule = optional(string)
}))
description = "The list of the database names, which cannot be changed after creation. Values are of the form [a-z][-a-z0-9]*[a-z0-9"
default = []
}
variable display_name {
description = "The descriptive name for this instance as it appears in UIs. Must be unique per project and between 4 and 30 characters in length."
type = string
}
variable edition {
description = "The edition selected for this instance. Different editions provide different capabilities at different price points. Possible values are: EDITION_UNSPECIFIED, STANDARD, ENTERPRISE, ENTERPRISE_PLUS."
type = string
}
variable instance_config {
description = "The name of the instance's configuration which defines the geographic placement and replication of your databases in this instance. It determines where your data is stored."
type = string
default = "regional-europe-west1"
}
variable instance_name {
description = "A unique identifier for the instance, which cannot be changed after the instance is created. The name must be between 6 and 30 characters in length."
type = string
}
variable instance_labels {
description = "An object containing a list of key: value pairs"
type = map(string)
default = {
"created" = "terraform"
}
}
variable num_nodes {
description = "The number of nodes allocated to this instance. At most one of either node_count or processing_units can be present in terraform."
type = string
default = null
}
variable processing_units {
description = "The number of processing units allocated to this instance. At most one of processing_units or node_count can be present in terraform."
type = string
default = null
}
variable project_id {
description = "The ID of the project in which the resource belongs."
type = string
}
variable force_destroy {
description = "The ID of the project in which the resource belongs."
type = bool
default = true
}