Terraform Provider

This topic provides information about installing, configuring, and using the Terraform provider with Oracle Cloud Infrastructure.

Terraform is a tool that allows you to programmatically manage, version, and persist your IT infrastructure as "infrastructure as code." Terraform uses declarative syntax to describe your infrastructure and then persist it in configuration files that can be shared, reviewed, edited, versioned, preserved, and reused. You can use the Terraform provider's resource discovery feature to discover your deployed resources in a compartment and export them to Terraform configuration and state files.

The Oracle Cloud Infrastructure Terraform provider is a component that connects Terraform to the service infrastructure that you want to manage.

Note

Manage your resources with Terraform by using Resource Manager. Resource Manager is an Oracle Cloud Infrastructure service that allows you to automate the process of provisioning your Oracle Cloud Infrastructure resources. Using Terraform, Resource Manager helps you install, configure, and manage resources through the "infrastructure-as-code" model. You can migrate existing Terraform state files to Resource Manager using an Import State job.

  • Services supported:

    • Analytics Cloud
    • API Gateway
    • Audit
    • Autoscaling (Compute)
    • Big Data
    • Budgets
    • Container Engine for Kubernetes
    • Content and Experience
    • Core services (Networking, Compute, Block Volume)
    • Data Catalog
    • Data Flow
    • Data Science
    • Database
    • Digital Assistant
    • DNS Service
    • Email Delivery
    • Events
    • FastConnect
    • File Storage
    • Functions
    • Health Checks
    • IAM
    • Integration Cloud
    • Key Management (for the Vault service)
    • Limits
    • Load Balancing
    • Marketplace
    • Monitoring
    • Oracle NoSQL Database Cloud
    • Notifications
    • Object Storage
    • OS Management
    • Streaming
    • Web Application Firewall (WAF)
  • Licensing: This provider and sample is licensed under the Mozilla Public License 2.0; third-party content is separately licensed as described in the code.
  • Documentation: Oracle Cloud Infrastructure Provider

Note

For troubleshooting, see Terraform  state drift with tag defaults and tags for secondary resources for a known issue with tags related to Terraform.

Contributions

Got a fix for a bug, or a new feature you'd like to contribute? The Terraform provider is open source and accepting pull requests on GitHub.

Notifications

To be notified when a new version of the Terraform provider is released, subscribe to the Atom feed.

Questions or Feedback

Ways you can get in touch: