Repository navigation
Expand file tree
/
Copy pathvariables.tf
More file actions
57 lines (48 loc) · 1.63 KB
/
Copy pathvariables.tf
File metadata and controls
57 lines (48 loc) · 1.63 KB
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
########################################################################################################################
# Input variables
########################################################################################################################
variable "ibmcloud_api_key" {
type = string
description = "The IBM Cloud API Key."
sensitive = true
}
variable "region" {
type = string
description = "Region to provision all resources created by this example."
default = "us-south"
}
variable "prefix" {
type = string
description = "A string value to prefix to all resources created by this example."
default = "xyz"
}
variable "resource_group" {
type = string
description = "The name of an existing resource group to provision resources in to. If not set a new resource group will be created using the prefix variable."
default = null
}
variable "cluster_name" {
type = string
description = "Name of the new IBM Cloud OpenShift Cluster"
default = null
}
variable "number_worker_nodes" {
type = number
description = "The number of workers to create in the cluster"
default = 2
}
variable "ocp_version" {
type = string
description = "Major.minor version of the OCP cluster to provision"
default = "4.20"
}
variable "machine_type" {
type = string
description = "Worker node machine type. Use 'ibmcloud ks flavors --zone <zone>' to retrieve the list."
default = "bx2.4x16"
}
variable "postgresql_admin_pword" {
type = string
description = "Password for the PostgreSQL admin user"
sensitive = true
}