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 SDK —
pip 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+