Terraform Provider
Install, configure, and use the OCI Terraform provider with the Terraform tool.
Hashicorp Terraform is an Infrastructure as Code (IaC) tool that lets you programmatically manage, version, and persist infrastructure. Terraform configurations codify infrastructure in declarative files that contain the steps required to provision infrastructure and maintain its state. You can share these files among team members, treat them as code, edit, review, and version them.
Terraform uses providers to interface between the Terraform engine and the supported cloud platform. The Oracle Cloud Infrastructure (OCI) Terraform provider is a component that connects Terraform to the OCI services that you want to manage.
Terraform state files contain all resource attributes that are specified as part of configuration files. If you manage any sensitive data with Terraform, such as database or user passwords or instance private keys, treat the state file itself as sensitive data. For more information, see Storing Sensitive Data.
You can use the OCI Terraform provider to manage OCI resources wherever you use a Terraform distribution, including Terraform Cloud and the OCI Resource Manager. Oracle Public Cloud has its own Terraform provider.
To begin using this provider to manage OCI resources, see Getting Started.
Licensing: This provider and samples are licensed under the Mozilla Public License 2.0; third-party content is separately licensed as described in the code.
Availability
The Oracle Cloud Infrastructure Terraform provider is region agnostic. You can use the Terraform provider to work with supported services in all Oracle Cloud Infrastructure regions where they're available. Oracle Cloud Infrastructure US Government Cloud customers: Use the FIPS-compatible OCI Terraform provider.
See Regions and Availability Domains for the list of available regions, along with associated locations, region identifiers, region keys, and availability domains.
Contributions
Got a fix for a bug, or a new feature you'd like to contribute? The OCI Terraform provider is open source and accepting pull requests on GitHub.
Notifications
To be notified when a new version of the OCI Terraform provider is released, subscribe to the Atom feed.
Questions or Feedback
Refer to Troubleshooting Basics and a list of common issues to see if your question has an answer.
You can also use GitHub to file bugs and submit feature requests.