Installation of Terraform on your local machine
On Mac run
brew tap hashicorp/tap brew install hashicorp/tap/terraform
Installation of OCI CLI on your local machine
Official OCI CLI installation guide:
After installation of OCI CLI and Terraform on your local Machine
A guide to get start use Terraform with OCI connection to your OCI tenancy.
- How to make connections to your OCI ( session valid for 1 hour)
oci session refresh --profile <yourprofilename>to refresh
- Start create your first Cloud Resources with Terraform
Github Terraform OCI provider
Go to Exmples to find all possible Resources that are able to be created via Terraform.