-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathvariables-powervs.tf
71 lines (55 loc) · 1.76 KB
/
variables-powervs.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
variable "powervs_resource_group" {
description = "IBM Cloud Resource Group"
}
variable "powervs_api_key" {
description = "Denotes the IBM Cloud API key to use"
}
variable "powervs_dns" {
description = "IBM Cloud VPC Private DNS name"
}
variable "powervs_dns_zone" {
description = "IBM Cloud VPC Private DNS Zone Name"
default = "k8s.test"
}
variable "powervs_image_name" {
description = "PowerVS image name to be used for the deployment"
}
variable "powervs_storage_tier" {
description = "PowerVS storage-tier to be used for volumes"
}
# By design, only the worker node's CPU/Memory can be sized through the flags passed as arguments.
variable "powervs_memory" {
description = "Worker node's PowerVS memory in GB"
}
variable "powervs_processors" {
description = "Worker node's PowerVS processor units"
}
# The control-plane node holds up well with 0.5C/8GB for most tests.
# The default can be overridden by exporting TF variables - export TF_VAR_controlplane_powervs_memory=X
variable "controlplane_powervs_memory" {
description = "Control plane's PowerVS memory in GB"
default = "8"
}
# The default can be overridden by exporting TF variables - export TF_VAR_controlplane_powervs_processors=X
variable "controlplane_powervs_processors" {
description = "Control plane's PowerVS processor units"
default = "0.5"
}
variable "powervs_network_name" {
description = "PowerVS Network name to be used for the deployment"
}
variable "powervs_service_id" {
description = "PowerVS service ID"
}
variable "powervs_ssh_key" {
description = "PowerVS SSH Key ID"
}
variable "powervs_region" {
description = "PowerVS Region"
}
variable "powervs_zone" {
description = "PowerVS Zone"
}
variable "apiserver_port" {
description = "Kubernetes API Server Port"
}