-
Notifications
You must be signed in to change notification settings - Fork 12
/
variables.tf
97 lines (81 loc) · 2.19 KB
/
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
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
variable "cluster_name" {
description = "The name for the cluster (universe) being created."
type = string
}
variable "use_public_ip_for_ssh" {
description = "Flag to control use of public or private ips for ssh."
default = "true"
type = string
}
variable "replication_factor" {
description = "The replication factor for the universe."
default = 3
type = string
}
variable "node_count" {
description = "The number of nodes to create YugaByte Db Cluter"
default = 3
type = string
}
variable "ssh_private_key" {
description = "The private key to use when connecting to the instances."
type = string
}
variable "ssh_public_key" {
description = "SSH public key to be use when creating the instances."
type = string
}
variable "ssh_user" {
description = "User name to ssh YugaByte Node to configure cluster"
type = string
}
variable "vm-size" {
description = "Type of Node to be used for YugaByte DB node "
default = "Standard_DS1_v2"
type = string
}
variable "yb_edition" {
description = "The edition of YugaByteDB to install"
default = "ce"
type = string
}
variable "yb_download_url" {
description = "The download location of the YugaByteDB edition"
default = "https://downloads.yugabyte.com"
type = string
}
variable "yb_version" {
description = "The version number of YugaByteDB to install"
default = "2024.2.0.0"
type = string
}
variable "region_name" {
description = "Region name for Azure"
default = "eastus"
type = string
}
variable "disk_size" {
description = "Disk size for YugaByte DB nodes"
default = "50"
type = string
}
variable "prefix" {
description = "Prefix prepended to all resources created."
default = "yugabyte-"
type = string
}
variable "resource_group" {
description = "Resource group name for Azure"
default = "null"
type = string
}
variable "subnet_count" {
description = "Number of sunbnet to be created"
default = 3
type = string
}
variable "zone_list" {
description = "avability zone list"
default = ["1", "2", "3"]
type = list(string)
}