If your automation host is behind a firewall, you will need to ensure the following ports are open in order to use ssh, http, and https:
- 22, 443, 80
These additional ports are required for the ocp cli (oc
) post-install:
- 6443
Install the following packages on the automation host. Select the appropriate install binaries based on your automation host platform - Mac/Linux/Windows.
Terraform: Please open the link for downloading the latest Terraform. For validating the version run terraform version
command after install.
Install Terraform and providers for Power environment:
- Download and install the latest Terraform binary for Linux/ppc64le from https://github.com/ppc64le-development/terraform-ppc64le/releases.
- Download the required Terraform providers for Power into your TF project directory:
$ cd <path_to_TF_project>
$ mkdir -p ./providers
$ curl -fsSL https://github.com/ocp-power-automation/terraform-providers-power/releases/download/v0.11/archive.zip -o archive.zip
$ unzip -o ./archive.zip -d ./providers
$ rm -f ./archive.zip
- Initialize Terraform at your TF project directory:
$ terraform init --plugin-dir ./providers
PowerVS CLI: Please download and install the CLI by referring to the following instructions. Alternatively, you can use IBM Cloud shell directly from the browser itself.
Git: Please refer to the link for instructions on installing Git.