If your system 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 >= 0.13.0: Please refer to the link for instructions on installing Terraform. For validating the version run terraform version
command after install.
Install Terraform and providers for Power environment:
- Download the Terraform binary version 0.13.5 from https://www.power-devops.com/terraform and install it to /usr/local/bin.
- 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.7/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
Git: Please refer to the link for instructions on installing Git.