forked from yugabyte/terraform-gcp-yugabyte
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
79 lines (76 loc) · 2.06 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
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 "vpc_network" {
description = "VPC network to deploy YugaByte DB"
default = "default"
type = string
}
variable "vpc_firewall" {
description = "Firewall used by the YugaByte Node"
default = "default"
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 "node_type" {
description = "Type of Node to be used for YugaByte DB node "
default = "n1-standard-4"
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 = "2.5.1.0"
type = string
}
variable "region_name" {
description = "Region name for GCP"
default = "us-west1"
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
}