This section will guide you through the pre-requisites before you can use this project.
You can proceed to the Quick Start guide if you have already done these.
Start by installing Terraform and configuring your path.
If you are using Oracle Linux, you can install Terraform as follows:
yum -y install oraclelinux-developer-release-el7 && yum -y install terraform
If you are using a Mac, you can install Terraform as follows:
brew install terraform
If you prefer to install Terraform manually, you can follow these instructions:
-
Open your browser and navigate to the Terraform download page. You need version 0.12.24+.
-
Download the appropriate version for your operating system.
-
Extract the the contents of compressed file and copy the terraform binary to a location that is in your path (see next section below).
-
You will also need to configure your path.
Open a terminal and type the following:
sudo mv /path/to/terraform /usr/local/bin
Follow the steps below to configure your path on Windows:
-
Click on 'Start', type 'Control Panel' and open it
-
Select System > Advanced System Settings > Environment Variables
-
Select System variables > PATH and click 'Edit'
-
Click New and paste the location of the directory where you have extracted the terraform.exe
-
Close all open windows by clicking 'OK'
-
Open a new terminal and verify terraform has been properly installed
Follow the documentation for generating and uploading your api keys.
Note the key fingerprint.
Follow the documentation for creating a compartment.
The following OCIDs are required:
-
Compartment OCID
-
Tenancy OCID
-
User OCID
Follow the documentation for obtaining the tenancy and user ocids.
To obtain the compartment OCID:
-
Navigate to Identity > Compartments
-
Click on your Compartment
-
Locate OCID on the page and click on 'Copy'