oraclecloud-multi-env-setup

Installation
SKILL.md

Oracle Cloud Multi-Environment Setup

Overview

OCI has no "accounts" like AWS — you use compartments plus OCI config profiles for dev/staging/prod separation. But profile switching is manual, compartment OCIDs are easy to confuse, and one wrong --compartment-id deploys to production. This skill sets up safe multi-environment workflows with named profiles, compartment aliasing, environment validation, and deployment guardrails.

Purpose: Configure safe, repeatable multi-environment OCI workflows that prevent accidental cross-environment operations.

Prerequisites

  • OCI Python SDKpip install oci
  • OCI CLI — installed and configured (oci setup config)
  • Separate API keys per environment (recommended) or a single key with cross-compartment policies
  • Compartment OCIDs for each environment (dev, staging, prod)
  • Python 3.8+

Instructions

Step 1: Configure Multi-Profile ~/.oci/config

Installs
1
GitHub Stars
2.8K
First Seen
13 days ago
oraclecloud-multi-env-setup — jeremylongshore/tons-of-skills-marketplace