oci-iac

Automate OCI infrastructure provisioning with Terraform, OCI Resource Manager, and Ansible.

Updated Apr 27, 2026
One-click install
npx skills add https://github.com/tomz/agent-skills --skill oci-iac
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: oci-iac
Source: https://github.com/tomz/agent-skills/tree/main/oci-iac
Command: npx skills add https://github.com/tomz/agent-skills --skill oci-iac

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Codify Oracle Cloud Infrastructure deployments with Terraform, OCI Resource Manager, and Ansible to reduce drift, manual steps, and governance gaps across environments.

Core Features & Use Cases

  • Terraform OCI provider integration for repeatable provisioning.
  • OCI Resource Manager for stack-based deployments, drift detection, and governance.
  • Ansible OCI collections for automated configuration and provisioning tasks across OCI resources.
  • State management patterns and secure handling of sensitive data in OCI workflows.

Quick Start

Deploy a sample OCI infrastructure using Terraform, then manage it with OCI RM and Ansible.

Frequently Asked Questions about oci-iac

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate OCI infrastructure provisioning with Terraform?

Automate OCI infrastructure provisioning with Terraform by defining OCI provider blocks, auth methods, and variable patterns to codify reproducible stacks and reduce manual deployment steps.

What is drift detection in OCI Resource Manager?

Drift detection in OCI Resource Manager identifies configuration changes made outside of Terraform. It enables stack-based governance by comparing actual cloud state against your codified infrastructure to prevent compliance gaps.

Can I use Ansible to configure OCI resources after Terraform deployment?

Yes, you can use Ansible OCI collections to perform automated configuration and provisioning tasks across OCI resources immediately after Terraform handles the initial infrastructure provisioning.

What is the best way to manage Terraform state securely in Oracle Cloud Infrastructure?

The best way to manage Terraform state securely in Oracle Cloud Infrastructure is using OCI Resource Manager for stack-based deployments and applying state management patterns that protect sensitive data across compartments.

Do I need OCI Resource Manager to handle Terraform drift prevention?

You do not strictly need OCI Resource Manager for drift prevention, but it provides native stack-based governance and drift detection capabilities specifically built to manage Terraform OCI provider workflows and state.