-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
52 lines (47 loc) · 1010 Bytes
/
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
variable "public_key_path" {}
variable "root_password" {}
variable "region" {}
variable "node_count" {}
variable "instance_type" {}
resource "random_string" "password" {
length = 64
special = true
upper = true
lower = true
number = true
}
variable "backups_enabled" {
type = bool
default = false
}
variable "image" {}
variable "label" {
default = "example_db_instance_label"
}
# variable "swap_size" {
# #TODO: should be defined by the instance size using the var linode_type..
# description = "Swap size in MB."
# type = number
# }
variable "group" {
type = string
default = "dbservers"
}
variable "tags" {
type = list(string)
default = ["example"]
}
variable "DOMAIN" {
description = "Root or subdomain."
type = string
default = ""
}
variable "SITE" {
description = "Site name of the project/app."
default = ""
}
variable "ID" {
description = "Id of the release, usually an int."
type = number
default = 1
}