• Getting Started
  • Oracle Cloud Infrastructure Cloud Adoption Framework
  • Oracle Cloud's Free Tier
  • Oracle Multicloud
  • Oracle Cloud Infrastructure Government Cloud
  • Oracle EU Sovereign Cloud
  • Applications Services
  • Infrastructure Services
  • Developer Resources
    • Developer Guide
      • Setup and Prerequisites
      • SDK Quick Starts with Cloud Shell
      • Working with Cloud Shell
      • Working with Code Editor
      • Working with the CLI
      • SDK Guides
      • DevOps Tools and Plug-ins
        • OCI Modules for PowerShell
        • Ansible Collection
        • Compute Jenkins Plug-in
        • Chef Knife Plug-in
        • DevOps Plugin for Jenkins
        • Grafana Plug-in
        • Terraform Provider
          • Getting Started
          • What's New
          • Tutorials
            • Set Up OCI Terraform
            • Create a Compartment
            • Create a Compute Instance
            • Create a Virtual Cloud Network
            • Set Up a Simple Infrastructure with OCI Terraform
            • Create a Kubernetes Cluster
            • Set Up Resource Discovery
            • Create Scripts and State Files with Resource Discovery
          • Examples, Templates, and Solutions
          • Guides
          • Best Practices
          • Resource Discovery
          • Services Reference
          • Troubleshooting the Terraform Provider
          • Known Issues
      • Other Tools
      • API Reference and Appendices
      • Known Issues
    • Developer Tutorials
  • Security
  • Marketplace
  • More Resources
  • Glossary
  • Oracle Cloud Console
Oracle Cloud
  • Getting Started with Oracle Cloud Infrastructure
  • Cloud Adoption Framework
  • Multicloud
  • Oracle Cloud Infrastructure Government Cloud
  • Applications Services
  • Infrastructure Services
  • Developer Resources
  • Security
  • Marketplace
  • More Resources
  • Oracle Cloud Console
  • Cloud Applications Documentation
  • Oracle.com Home
  • Oracle Help Center Home
Search

Oracle Cloud Infrastructure Documentation


Developer ResourcesDeveloper GuideDevOps Tools and Plug-insTerraform Provider
  • Getting Started
  • Oracle Cloud Infrastructure Cloud Adoption Framework
  • Oracle Cloud's Free Tier
  • Oracle Multicloud
  • Oracle Cloud Infrastructure Government Cloud
  • Oracle EU Sovereign Cloud
  • Applications Services
  • Infrastructure Services
  • Developer Resources
    • Developer Guide
      • Setup and Prerequisites
      • SDK Quick Starts with Cloud Shell
      • Working with Cloud Shell
      • Working with Code Editor
      • Working with the CLI
      • SDK Guides
      • DevOps Tools and Plug-ins
        • OCI Modules for PowerShell
        • Ansible Collection
        • Compute Jenkins Plug-in
        • Chef Knife Plug-in
        • DevOps Plugin for Jenkins
        • Grafana Plug-in
        • Terraform Provider
          • Getting Started
          • What's New
          • Tutorials
            • Set Up OCI Terraform
            • Create a Compartment
            • Create a Compute Instance
            • Create a Virtual Cloud Network
            • Set Up a Simple Infrastructure with OCI Terraform
            • Create a Kubernetes Cluster
            • Set Up Resource Discovery
            • Create Scripts and State Files with Resource Discovery
          • Examples, Templates, and Solutions
          • Guides
          • Best Practices
          • Resource Discovery
          • Services Reference
          • Troubleshooting the Terraform Provider
          • Known Issues
      • Other Tools
      • API Reference and Appendices
      • Known Issues
    • Developer Tutorials
  • Security
  • Marketplace
  • More Resources
  • Glossary
  • Oracle Cloud Console
Skip to main content

Terraform Provider Tutorials

Follow step-by-step instructions and examples of using Terraform and Oracle Cloud Infrastructure

  • Set Up OCI Terraform
  • Create a Compartment
  • Create a Compute Instance
  • Create a Virtual Cloud Network
  • Set Up a Simple Infrastructure with OCI Terraform
  • Create a Kubernetes Cluster
  • Set Up Resource Discovery
  • Create Scripts and State Files with Resource Discovery

For More Information

For more information, see the following resources:

  • HashiCorp Learn: Get Started with Oracle Cloud Infrastructure
  • Getting Started Using Terraform with OCI
  • Copyright © 2025, Oracle and/or its affiliates.
  • About Oracle
  • Contact Us
  • Legal Notices
  • Terms of Use & Privacy
  • Document Conventions
  • Cookie Preferences