114 Red Hat OpenShift and IBM Cloud Paks on IBM Power Systems: Volume 1
Complete the following steps:
1. Clone the git repository:
2. Create a separate folder for each OpenShift Cluster:
3. Copy the Terraform plug-ins:
6.3.3  Provisioning the infrastructure on PowerVC
Complete the following steps to deploy PowerVC Infrastructure:
1. Create terrafrom.tfvars file. You can use the terraform_aio.tfvars.example for 
All-In-One deployment (see Example 6-4), terraform_7nodes.tfvars.example for seven 
nodes deployment (see Example 6-5 on page 116), or terraform_3nodes.tfvars.example 
for three nodes deployment (see Example 6-6 on page 117). For resources configuration, 
it is recommended to use the values from Table 5-7 on page 99.
Example 6-4   terrafomr.tfvars for All-In-One (AIO) deployment
cat terraform.tfvars
#PowerVC (OpenStack)
#---------------------------------
powervc_user        = "ocpadmin"            # PowerVC user
powervc_password    = "<password>"            # PowerVC password
powervc_server      = "192.168.11.31"         # PowerVC IP or hostname
powervc_project     = "ocp-project"         # PowerVC project(tenant) name
#General configuration:
#---------------------------------
ssh_user            = "root"                # Image username
ssh_user_password   = "password"            # Image password
git clone https://github.com/ppc64le/devops-automation.git
Cloning into 'devops-automation'...
remote: Enumerating objects: 71, done.
remote: Counting objects: 100% (71/71), done.
remote: Total 71 (delta 34), reused 31 (delta 17), pack-reused 0
Unpacking objects: 100% (71/71), done.
###All-in-One Cluster
cp devops-automation/terraform/powervc-openshift ocp-aio
###7Nodes Cluster
cp devops-automation/terraform/powervc-openshift ocp-7nodes
cd <PATH> #ocp-aio or ocp-7nodes
mkdir -p .terraform/plugins/linux_ppc64le/
cp $GOPATH/bin/terraform-provider-openstack 
.terraform/plugins/linux_ppc64le/terraform-provider-openstack_v1.22.0_x4
cp $GOPATH/bin/terraform-provider-null 
.terraform/plugins/linux_ppc64le/terraform-provider-null_v2.1.2_x4
Important: Terraform is one option for infrastructure deployment. Many other options are 
not covered in this book.