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:
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/cliinstall.htm#InstallingCLI__macos_homebrew
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
https://learn.hashicorp.com/tutorials/terraform/oci-build?in=terraform/oci-get-started
Github Terraform OCI provider
https://github.com/oracle/terraform-provider-oci
Go to Exmples to find all possible Resources that are able to be created via Terraform.