In this project I'm demonstrating how to use Terraform to create and manage OpenShift clusters.
Here's the list of articles that explain in the details how it works:
- How to create OpenShift cluster on Azure with the ARO managed service and install operators and apps: Manage OpenShift with Terraform
You need to install Azure CLI (az
) and Terraform CLI.
First login to the Azure account. You need an account there:
$ az account show
Then just run my script on the existing AZ resource group:
$ ./aro-with-servicemesh.sh
Go to the multicluster
directory. Run the following command to initialize workspace:
$ terraform init
Then, let's create required objects:
$ terraform apply -auto-approve -var kubeconfig=../aro/kubeconfig