To use the Oracle Cloud Infrastructure (OCI) Terraform provider, you must install both Terraform and the OCI Terraform provider. You can directly download Terraform and the OCI Terraform provider from HashiCorp.
The correct Terraform binary file for your OS. We recommend using Terraform version 0.12.20 or greater.
Installing from HashiCorp 🔗
Terraform and the OCI Terraform provider can be downloaded directly from HashiCorp.
Download and Install Terraform 🔗
Terraform is available for direct download from the HashiCorp download page. Ensure that you download the correct binary file for your system.
Download and Install the Provider 🔗
To use the latest version of the OCI Terraform provider, run terraform init from the directory that contains a configuration file with the provider "oci" { ... configuration block. The provider is automatically downloaded. Terraform configurations also allow you to specify a particular version of the OCI Terraform provider.