forked from ibm-cloud-architecture/terraform-openshift4-vcd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
terraform.tfvars.example
108 lines (71 loc) · 3.15 KB
/
terraform.tfvars.example
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
// ID identifying the cluster to create. Use your username so that resources created can be tracked back to you.
cluster_id = "<your cluster id"
// Base domain from which the cluster domain is a subdomain.
base_domain = "<your base domain>"
// Name of the VDC.
vcd_vdc = "<your vdc name>"
// User on the vSphere server.
vcd_user = "admin"
// Password of the user on vcd.
vcd_password = "<your password>"
// Name of the VCD organization. Found on the VCD console, Data Centers tab
vcd_org = "<your org id>"
// url for the vcd. (this is dal)
vcd_url = "https://daldir01.vmware-solutions.cloud.ibm.com/api"
// Name of the vcd Catalog
vcd_catalog = "Public Catalog"
// Set bootstrap_ip, control_plane_ip, and compute_ip if you want to use static
// IPs reserved someone else, rather than the IPAM server.
// The IP address to assign to the bootstrap VM.
bootstrap_disk = 250000
bootstrap_ip_address = "172.16.0.70"
// The number of control plane VMs to create. Default is 3.
control_plane_count = 3
control_disk = 250000
// The IP addresses to assign to the control plane VMs. The length of this list
// must match the value of control_plane_count.
control_plane_ip_addresses = ["172.16.0.71", "172.16.0.72", "172.16.0.73"]
// control_plane_ip_addresses = ["172.16.0.51"]
// The number of compute VMs to create. Default is 3.
compute_count = 3
compute_disk =250000
// The IP addresses to assign to the compute VMs. The length of this list must
// match the value of compute_count.
compute_ip_addresses = ["172.16.0.74","172.16.0.75","172.16.0.76"]
// Storage Nodes disk size must be at least 2097152 (2TB) if you want to install OCS
storage_count = 0
storage_disk = 512000
// storage_ip_addresses = ["172.16.0.80", "172.16.0.81", "172.16.0.82"]
// The IP address to assign to the loadbalancer VM.
lb_ip_address = "172.16.0.69"
// including Bastion server for local DNS
vm_dns_addresses = ["9.9.9.9","161.26.0.10","172.16.0.10"]
//openshift_pull_secret = ""
openshift_pull_secret = "<your pull secret location>"
// additionalTrustBundle = "<your trust bundle cert if airgapped>"
openshift_version="4.6"
// Name of the RHCOS VM template to clone to create VMs for the cluster
rhcos_template = "rhcos OpenShift 4.6.8"
// airgapped block
airgapped = {
enabled = false
ocp_ver_rel = "<your version.release>"
mirror_ip = "<ip of mirror>"
mirror_fqdn = "<fqdn of mirror>"
mirror_port = "<port of mirror>"
mirror_repository = "ocp4/openshift4"
}
cluster_public_ip = "x.x.x.x"
initialization_info = {
public_bastion_ip = "y.y.y.y"
bastion_password = "<password for bastion>"
internal_bastion_ip = "172.16.0.10"
terraform_ocp_repo = "https://github.com/ibm-cloud-architecture/terraform-openshift4-vcd"
rhel_key = "<redhat license key from vcd screen>"
machine_cidr = "172.16.0.0/16"
network_name = "ocpnet"
static_start_address = "172.16.0.150"
static_end_address = "172.16.0.220"
bastion_template = "RedHat-8-Template-Official"
run_cluster_install = true
}