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 steps.
Start by installing Terraform wth the proper package for your operating system and architecture.
On Oracle Linux, you can install Terraform using from your distribution’s package repository.
For Oracle Linux 7:
yum -y install oraclelinux-developer-release-el7 && yum -y install terraform
For Oracle Linux 8:
dnf -y install oraclelinux-developer-release-el8 && dnf -y install terraform
On macOS, you can install Terraform using Homebrew.
brew install hashicorp/tap/terraform
This will install Terraform using the official HashiCorp Homebrew tap. For more details about the differences and benefits to use the community maintained or the official Homebrew tap, see HashiCorp’s announcement
ℹ️
|
If Homebrew is not already installed on your system, start by installing it following the installation instructions at https://brew.sh |
On Windows, you can install Terraform using Chocolatey.
choco install terraform
ℹ️
|
If Chocolatey is not already installed on your system, start by installing it following the installation instructions on https://chocolatey.org/ |
For manual installation, follow the instructions on Terraform download page.
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