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.

Caution

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.

Tip

To migrate an existing Terraform state file to Resource Manager, use an import job.

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.

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.