-
Notifications
You must be signed in to change notification settings - Fork 3
/
variables.tf
111 lines (90 loc) · 2.23 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
variable "public_key_path" {
description = "Path to public key file"
}
variable "yc_oauth_token" {
description = "Yandex Cloud security OAuth token"
default = ""
type = string
}
variable "yc_folder_id" {
description = "Yandex Cloud Folder ID where resources will be created"
default = ""
type = string
}
variable "yc_cloud_id" {
description = "Yandex Cloud ID where resources will be created"
default = ""
type = string
}
//General Cluster Settings
variable "okd_project_name" {
description = "Name of yc Cluster"
}
variable "okd_cluster_name" {
description = "Name of yc Cluster"
}
variable "okd_image_family" {
description = "family"
}
//yc VPC Variables
variable "okd_cidr_subnets" {
description = "CIDR Blocks for private subnets in Availability Zones"
type = list(string)
}
/**
Bastion VM configuration variables
*/
variable "okd_bastion_cpu" {
description = "Number CPU cores"
}
variable "okd_bastion_ram" {
description = "Node RAM size"
}
/*
* The number should be divisable by the number of used
* yc Availability Zones without an remainder.
*/
variable "okd_kube_master_num" {
description = "Number of Kubernetes Master Nodes"
}
variable "okd_kube_master_cpu" {
description = "Number CPU cores"
}
variable "okd_kube_master_ram" {
description = "Node RAM size"
}
variable "okd_kube_infra_num" {
description = "Number of Kubernetes Infrastructure Nodes"
}
variable "okd_kube_infra_cpu" {
description = "Number CPU cores"
}
variable "okd_kube_infra_ram" {
description = "Node RAM size"
}
variable "okd_kube_worker_num" {
description = "Number of Kubernetes Master Nodes"
}
variable "okd_kube_worker_cpu" {
description = "Number CPU cores"
}
variable "okd_kube_worker_ram" {
description = "Node RAM size"
}
variable "okd_availability_zones" {
type = list(string)
default = ["ru-central1-a", "ru-central1-b", "ru-central1-c"]
}
variable "openshift_master_cluster_public_hostname" {
description = "Public cluster master lb DNS-name"
}
/*
* yc ELB Settings
*
*/
variable "k8s_secure_api_port" {
description = "Secure Port of K8S API Server"
}
variable "inventory_file" {
description = "Where to store the generated inventory file"
}