Examples, Templates, and Solutions
The Oracle Cloud Infrastructure (OCI) Terraform provider uses Terraform configuration files to manage your OCI infrastructure.
Referring to existing example configurations, sample solutions, and templates can help you understand HashiCorp Configuration Language format (HCL) and see how it is used to define OCI resources.
You can also modify examples or entire solution sets to meet your needs.
We provide many example Terraform configuration files that show you how to create specific OCI resources. These examples are intended to be as simple as possible. In most cases, they contain only the specific resource and any dependencies required for it to run.
Examples are are grouped by service, including Compute, Database, Networking, Load Balancing, and several others.
These do not represent production configurations or real world scenarios, but they can serve as a starting point and be modified and combined as necessary.
Templates can help those new to infrastructure-as-code and those who are updating production configurations. Use templates to try out Resource Manager and inspect the underlying oracle-terraform-modules to familiarize yourself with Terraform configuration files.