[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7946M1Z43Z61AFD0S43H9MM":3,"skill-same:01M7946M1Z43Z61AFD0S43H9MM":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":39,"ownerDescription":40,"updatedAt":41,"install":42,"resources":55},"01M7946M1Z43Z61AFD0S43H9MM","oraclecloud-upgrade-migration",null,"Safely upgrade OCI Python SDK and Terraform provider — version pinning, breaking change detection, and rollback.\nUse when upgrading oci pip packages, updating the Terraform OCI provider, or debugging post-upgrade failures.\nTrigger with \"oraclecloud upgrade\", \"oci sdk upgrade\", \"oci terraform provider update\", \"oci version migration\".","jukeyman\u002Fjukeyman-skills","jukeyman","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F142960420?v=4","01M78FR4Y3DHMMCBCC0GXXNB3F","RICK JEFFERSON","01M78FR4Z8RVQRAD31Y5J7V6EB",1,"MIT","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--oraclecloud-pack--oraclecloud-upgrade-migration\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: oraclecloud-upgrade-migration\ndescription: |\n  Safely upgrade OCI Python SDK and Terraform provider — version pinning, breaking change detection, and rollback.\n  Use when upgrading oci pip packages, updating the Terraform OCI provider, or debugging post-upgrade failures.\n  Trigger with \"oraclecloud upgrade\", \"oci sdk upgrade\", \"oci terraform provider update\", \"oci version migration\".\nallowed-tools: Read, Write, Edit, Bash(pip:*), Bash(oci:*), Bash(terraform:*), Bash(python3:*), Grep\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ntags: [saas, oraclecloud, oci]\ncompatible-with: claude-code\n---\n\n# Oracle Cloud Upgrade & Migration\n\n## Overview\n\nOCI Terraform provider and Python SDK break backwards compatibility more often than AWS equivalents. The Terraform provider has had provider crashes on `terraform plan` after upgrades, deprecated resource types removed without migration paths, and schema changes that silently alter behavior. The Python SDK has had memory leak fixes that changed object lifecycle semantics and authentication class renames between minor versions. This skill tracks known breaking changes and provides safe upgrade patterns with version pinning, pre-upgrade testing, and rollback procedures.\n\n**Purpose:** Upgrade OCI Python SDK and Terraform provider versions safely, detect breaking changes before they hit production, and roll back cleanly if an upgrade fails.\n\n## Prerequisites\n\n- **Python 3.8+** with the current OCI SDK installed — `pip show oci`\n- **Terraform 1.5+** with the OCI provider — `terraform version`\n- **OCI CLI** installed — `oci --version`\n- **Git** for version control of infrastructure code\n- **A test environment** — never upgrade directly in production\n- Current `~\u002F.oci\u002Fconfig` validated (see `oraclecloud-install-auth`)\n\n## Instructions\n\n### Step 1: Audit Current Versions\n\n```bash\n# Python SDK version\npip show oci | grep -E \"^(Name|Version|Location)\"\n# Example: Version: 2.125.0\n\n# OCI CLI version\noci --version\n# Example: 3.41.0\n\n# Terraform provider version\ngrep -A2 'oracle\u002Foci' .terraform.lock.hcl 2>\u002Fdev\u002Fnull || echo \"No lock file found\"\nterraform providers\n# Example: oracle\u002Foci v5.46.0\n```\n\n```python\nimport oci\nprint(f\"OCI SDK version: {oci.__version__}\")\n```\n\n### Step 2: Check for Known Breaking Changes\n\n**Python SDK known breaking changes:**\n\n| Version | Breaking Change | Impact | Mitigation |\n|---------|----------------|--------|------------|\n| 2.120.0+ | `oci.retry` module refactored | Custom retry strategies may break | Update to `oci.retry.retry.RetryStrategyBuilder` |\n| 2.115.0+ | `oci.config.validate_config()` stricter | Rejects configs with extra fields | Remove non-standard fields from `~\u002F.oci\u002Fconfig` |\n| 2.105.0+ | Composite operations return type changed | `.data` attribute structure changed | Check `.data` type assertions in your code |\n| 2.90.0+ | `wait_for_state` deprecated on some clients | Direct `get_*` polling required | Use `oci.wait_until()` helper instead |\n\n**Terraform provider known breaking changes:**\n\n| Version | Breaking Change | Impact | Mitigation |\n|---------|----------------|--------|------------|\n| 5.40.0+ | `oci_core_instance` schema change | `source_details` block restructured | Run `terraform plan` before apply to detect drift |\n| 5.30.0+ | Deprecated `oci_core_virtual_network` removed | Must use `oci_core_vcn` | Search-and-replace in all `.tf` files |\n| 5.20.0+ | Provider crashes on `terraform plan` with certain instance configs | Segfault in provider binary | Pin to 5.19.x until hotfix release |\n| 5.0.0 | Major version bump — multiple resources renamed | State file references break | Use `terraform state mv` for renamed resources |\n\n### Step 3: Python SDK Safe Upgrade\n\n```bash\n# Step 3a: Pin current version as fallback\npip freeze | grep ^oci > requirements-oci-backup.txt\necho \"Current version saved to requirements-oci-backup.txt\"\n\n# Step 3b: Create an isolated branch\ngit checkout -b upgrade\u002Foci-sdk-$(date +%Y%m%d)\n\n# Step 3c: Upgrade with version constraint\npip install --upgrade \"oci>=2.125.0,\u003C2.130.0\"  # Constrain to minor range\npip show oci | grep Version\n```\n\n```python\n# Step 3d: Run validation script\nimport oci\n\nconfig = oci.config.from_file(\"~\u002F.oci\u002Fconfig\")\noci.config.validate_config(config)\n\n# Test core client instantiation\nidentity = oci.identity.IdentityClient(config)\ncompute = oci.core.ComputeClient(config)\nnetwork = oci.core.VirtualNetworkClient(config)\nstorage = oci.object_storage.ObjectStorageClient(config)\ndatabase = oci.database.DatabaseClient(config)\nmonitoring = oci.monitoring.MonitoringClient(config)\n\n# Verify each client can make a basic call\nidentity.list_regions()\nprint(\"IdentityClient: OK\")\n\ncompute.list_instances(compartment_id=config[\"tenancy\"], limit=1)\nprint(\"ComputeClient: OK\")\n\nnetwork.list_vcns(compartment_id=config[\"tenancy\"], limit=1)\nprint(\"VirtualNetworkClient: OK\")\n\nnamespace = storage.get_namespace().data\nprint(f\"ObjectStorageClient: OK (namespace={namespace})\")\n\nprint(f\"\\nAll clients validated on oci=={oci.__version__}\")\n```\n\n### Step 4: Terraform Provider Safe Upgrade\n\n```bash\n# Step 4a: Record current state\nterraform version > terraform-version-backup.txt\ncp .terraform.lock.hcl .terraform.lock.hcl.backup\n\n# Step 4b: Pin provider version in required_providers\n```\n\n```hcl\n# versions.tf — pin to specific minor version\nterraform {\n  required_providers {\n    oci = {\n      source  = \"oracle\u002Foci\"\n      version = \"~> 5.46.0\"  # Allows 5.46.x patches only\n    }\n  }\n}\n```\n\n```bash\n# Step 4c: Upgrade provider\nterraform init -upgrade\n\n# Step 4d: Run plan to detect breaking changes (NEVER skip this)\nterraform plan -out=upgrade-plan.tfplan 2>&1 | tee upgrade-plan.log\n\n# Step 4e: Check for unexpected changes\ngrep -E \"(must be replaced|forces replacement|will be destroyed)\" upgrade-plan.log\n# If any resources are being replaced unexpectedly, STOP and investigate\n```\n\n### Step 5: Deprecation Detection Script\n\nScan your codebase for deprecated OCI resource types and SDK patterns:\n\n```bash\n#!\u002Fbin\u002Fbash\necho \"=== Deprecated Terraform Resources ===\"\ngrep -rn \"oci_core_virtual_network\" *.tf 2>\u002Fdev\u002Fnull && echo \"  DEPRECATED: Use oci_core_vcn\" || echo \"  None found\"\ngrep -rn \"oci_core_security_list\" *.tf 2>\u002Fdev\u002Fnull && echo \"  WARNING: Prefer oci_core_network_security_group\" || echo \"  None found\"\n\necho \"\"\necho \"=== Deprecated Python SDK Patterns ===\"\ngrep -rn \"from oci.core import\" *.py 2>\u002Fdev\u002Fnull | grep -v \"ComputeClient\\|VirtualNetworkClient\\|BlockstorageClient\" && echo \"  Check for deprecated imports\" || echo \"  None found\"\ngrep -rn \"wait_for_state\" *.py 2>\u002Fdev\u002Fnull && echo \"  DEPRECATED: Use oci.wait_until() instead\" || echo \"  None found\"\n```\n\n### Step 6: OCI CLI Upgrade\n\n```bash\n# Check current version\noci --version\n\n# Upgrade via pip (OCI CLI is a Python package)\npip install --upgrade oci-cli\n\n# Verify CLI still works after upgrade\noci iam region list --output table && echo \"CLI upgrade: OK\" || echo \"CLI upgrade: FAILED\"\n\n# If CLI breaks, rollback\npip install oci-cli==3.41.0  # Replace with your backup version\n```\n\n### Step 7: Rollback Procedures\n\n**Python SDK rollback:**\n\n```bash\n# Restore pinned version\npip install -r requirements-oci-backup.txt\npip show oci | grep Version\n```\n\n**Terraform provider rollback:**\n\n```bash\n# Restore lock file\ncp .terraform.lock.hcl.backup .terraform.lock.hcl\nterraform init\n\n# Verify state is intact\nterraform plan  # Should show no changes\n```\n\n**Git-level rollback:**\n\n```bash\n# Discard upgrade branch entirely\ngit checkout main\ngit branch -D upgrade\u002Foci-sdk-$(date +%Y%m%d)\n```\n\n## Output\n\nSuccessful completion produces:\n- Version audit showing current OCI SDK, CLI, and Terraform provider versions\n- Breaking change assessment against the known issues table\n- Upgraded Python SDK with all core clients validated (Identity, Compute, Network, Storage, Database, Monitoring)\n- Upgraded Terraform provider with a clean `terraform plan` showing no unexpected resource replacements\n- Deprecation scan results for both Terraform resources and Python SDK patterns\n- Backup files for rollback (`requirements-oci-backup.txt`, `.terraform.lock.hcl.backup`)\n\n## Error Handling\n\n| Error | Code | Cause | Solution |\n|-------|------|-------|----------|\n| `ModuleNotFoundError: oci` | — | SDK uninstalled during upgrade | `pip install oci` — start upgrade process over |\n| Terraform provider crash (segfault) | — | Known provider bug in certain versions | Pin to last known good version (check Terraform registry issues) |\n| `terraform plan` shows unexpected replacements | — | Schema change in provider | Review the plan carefully; use `terraform state mv` if resources were renamed |\n| NotAuthenticated | 401 | SDK upgrade changed auth behavior | Re-validate config: `python3 -c \"import oci; oci.config.validate_config(oci.config.from_file())\"` |\n| CERTIFICATE_VERIFY_FAILED | — | New SDK version uses updated cert bundle | Install `certifi`: `pip install --upgrade certifi` |\n| `terraform init` fails on lock file | — | Lock file hash mismatch after provider upgrade | Delete `.terraform.lock.hcl` and re-run `terraform init` |\n\n## Examples\n\n**Quick version check one-liner:**\n\n```bash\necho \"SDK: $(python3 -c 'import oci; print(oci.__version__)' 2>\u002Fdev\u002Fnull || echo 'not installed')\" && \\\necho \"CLI: $(oci --version 2>\u002Fdev\u002Fnull || echo 'not installed')\" && \\\necho \"TF: $(terraform version -json 2>\u002Fdev\u002Fnull | python3 -c 'import sys,json; d=json.load(sys.stdin); [print(f\"  {k}: {v}\") for k,v in d.get(\"provider_selections\",{}).items()]' || echo 'not installed')\"\n```\n\n**Automated upgrade test script:**\n\n```bash\n#!\u002Fbin\u002Fbash\nset -euo pipefail\necho \"=== OCI Upgrade Test ===\"\npip install --upgrade oci oci-cli\npython3 -c \"\nimport oci\nconfig = oci.config.from_file()\noci.config.validate_config(config)\noci.identity.IdentityClient(config).list_regions()\nprint(f'SDK {oci.__version__}: PASS')\n\"\noci iam region list --output table > \u002Fdev\u002Fnull && echo \"CLI: PASS\" || echo \"CLI: FAIL\"\necho \"=== Done ===\"\n```\n\n## Resources\n\n- [OCI Python SDK Changelog](https:\u002F\u002Fdocs.oracle.com\u002Fen-us\u002Fiaas\u002Ftools\u002Fpython\u002Flatest\u002Fchangelog.html) — version-by-version changes\n- [OCI Terraform Provider Releases](https:\u002F\u002Fregistry.terraform.io\u002Fproviders\u002Foracle\u002Foci\u002Flatest\u002Fdocs) — provider documentation and changelogs\n- [OCI CLI Release Notes](https:\u002F\u002Fdocs.oracle.com\u002Fen-us\u002Fiaas\u002FContent\u002FAPI\u002FConcepts\u002Fcliconcepts.htm) — CLI version history\n- [OCI Python SDK Reference](https:\u002F\u002Fdocs.oracle.com\u002Fen-us\u002Fiaas\u002Ftools\u002Fpython\u002Flatest\u002F) — full API documentation\n- [SDK Troubleshooting](https:\u002F\u002Fdocs.oracle.com\u002Fen-us\u002Fiaas\u002FContent\u002FAPI\u002FConcepts\u002Fsdk_troubleshooting.htm) — common upgrade and connectivity issues\n- [OCI Known Issues](https:\u002F\u002Fdocs.oracle.com\u002Fen-us\u002Fiaas\u002FContent\u002Fknownissues.htm) — platform-known issues affecting SDK\u002Fprovider\n\n## Next Steps\n\nAfter upgrading, run `oraclecloud-prod-checklist` to verify the environment still passes all production checks, or see `oraclecloud-common-errors` for debugging any new error patterns introduced by the upgrade.\n","# Oracle Cloud Upgrade & Migration\n\n## Overview\n\nOCI Terraform provider and Python SDK break backwards compatibility more often than AWS equivalents. The Terraform provider has had provider crashes on `terraform plan` after upgrades, deprecated resource types removed without migration paths, and schema changes that silently alter behavior. The Python SDK has had memory leak fixes that changed object lifecycle semantics and authentication class renames between minor versions. This skill tracks known breaking changes and provides safe upgrade patterns with version pinning, pre-upgrade testing, and rollback procedures.\n\n**Purpose:** Upgrade OCI Python SDK and Terraform provider versions safely, detect breaking changes before they hit production, and roll back cleanly if an upgrade fails.\n\n## Prerequisites\n\n- **Python 3.8+** with the current OCI SDK installed — `pip show oci`\n- **Terraform 1.5+** with the OCI provider — `terraform version`\n- **OCI CLI** installed — `oci --version`\n- **Git** for version control of infrastructure code\n- **A test environment** — never upgrade directly in production\n- Current `~\u002F.oci\u002Fconfig` validated (see `oraclecloud-install-auth`)\n\n## Instructions\n\n### Step 1: Audit Current Versions\n\n```bash\n# Python SDK version\npip show oci | grep -E \"^(Name|Version|Location)\"\n# Example: Version: 2.125.0\n\n# OCI CLI version\noci --version\n# Example: 3.41.0\n\n# Terraform provider version\ngrep -A2 'oracle\u002Foci' .terraform.lock.hcl 2>\u002Fdev\u002Fnull || echo \"No lock file found\"\nterraform providers\n# Example: oracle\u002Foci v5.46.0\n```\n\n```python\nimport oci\nprint(f\"OCI SDK version: {oci.__version__}\")\n```\n\n### Step 2: Check for Known Breaking Changes\n\n**Python SDK known breaking changes:**\n\n| Version | Breaking Change | Impact | Mitigation |\n|---------|----------------|--------|------------|\n| 2.120.0+ | `oci.retry` module refactored | Custom retry strategies may break | Update to `oci.retry.retry.RetryStrategyBuilder` |\n| 2.115.0+ | `oci.config.validate_config()` stricter | Rejects configs with extra fields | Remove non-standard fields from `~\u002F.oci\u002Fconfig` |\n| 2.105.0+ | Composite operations return type changed | `.data` attribute structure changed | Check `.data` type assertions in your code |\n| 2.90.0+ | `wait_for_state` deprecated on some clients | Direct `get_*` polling required | Use `oci.wait_until()` helper instead |\n\n**Terraform provider known breaking changes:**\n\n| Version | Breaking Change | Impact | Mitigation |\n|---------|----------------|--------|------------|\n| 5.40.0+ | `oci_core_instance` schema change | `source_details` block restructured | Run `terraform plan` before apply to detect drift |\n| 5.30.0+ | Deprecated `oci_core_virtual_network` removed | Must use `oci_core_vcn` | Search-and-replace in all `.tf` files |\n| 5.20.0+ | Provider crashes on `terraform plan` with certain instance configs | Segfault in provider binary | Pin to 5.19.x until hotfix release |\n| 5.0.0 | Major version bump — multiple resources renamed | State file references break | Use `terraform state mv` for renamed resources |\n\n### Step 3: Python SDK Safe Upgrade\n\n```bash\n# Step 3a: Pin current version as fallback\npip freeze | grep ^oci > requirements-oci-backup.txt\necho \"Current version saved to requirements-oci-backup.txt\"\n\n# Step 3b: Create an isolated branch\ngit checkout -b upgrade\u002Foci-sdk-$(date +%Y%m%d)\n\n# Step 3c: Upgrade with version constraint\npip install --upgrade \"oci>=2.125.0,\u003C2.130.0\"  # Constrain to minor range\npip show oci | grep Version\n```\n\n```python\n# Step 3d: Run validation script\nimport oci\n\nconfig = oci.config.from_file(\"~\u002F.oci\u002Fconfig\")\noci.config.validate_config(config)\n\n# Test core client instantiation\nidentity = oci.identity.IdentityClient(config)\ncompute = oci.core.ComputeClient(config)\nnetwork = oci.core.VirtualNetworkClient(config)\nstorage = oci.object_storage.ObjectStorageClient(config)\ndatabase = oci.database.DatabaseClient(config)\nmonitoring = oci.monitoring.MonitoringClient(config)\n\n# Verify each client can make a basic call\nidentity.list_regions()\nprint(\"IdentityClient: OK\")\n\ncompute.list_instances(compartment_id=config[\"tenancy\"], limit=1)\nprint(\"ComputeClient: OK\")\n\nnetwork.list_vcns(compartment_id=config[\"tenancy\"], limit=1)\nprint(\"VirtualNetworkClient: OK\")\n\nnamespace = storage.get_namespace().data\nprint(f\"ObjectStorageClient: OK (namespace={namespace})\")\n\nprint(f\"\\nAll clients validated on oci=={oci.__version__}\")\n```\n\n### Step 4: Terraform Provider Safe Upgrade\n\n```bash\n# Step 4a: Record current state\nterraform version > terraform-version-backup.txt\ncp .terraform.lock.hcl .terraform.lock.hcl.backup\n\n# Step 4b: Pin provider version in required_providers\n```\n\n```hcl\n# versions.tf — pin to specific minor version\nterraform {\n  required_providers {\n    oci = {\n      source  = \"oracle\u002Foci\"\n      version = \"~> 5.46.0\"  # Allows 5.46.x patches only\n    }\n  }\n}\n```\n\n```bash\n# Step 4c: Upgrade provider\nterraform init -upgrade\n\n# Step 4d: Run plan to detect breaking changes (NEVER skip this)\nterraform plan -out=upgrade-plan.tfplan 2>&1 | tee upgrade-plan.log\n\n# Step 4e: Check for unexpected changes\ngrep -E \"(must be replaced|forces replacement|will be destroyed)\" upgrade-plan.log\n# If any resources are being replaced unexpectedly, STOP and investigate\n```\n\n### Step 5: Deprecation Detection Script\n\nScan your codebase for deprecated OCI resource types and SDK patterns:\n\n```bash\n#!\u002Fbin\u002Fbash\necho \"=== Deprecated Terraform Resources ===\"\ngrep -rn \"oci_core_virtual_network\" *.tf 2>\u002Fdev\u002Fnull && echo \"  DEPRECATED: Use oci_core_vcn\" || echo \"  None found\"\ngrep -rn \"oci_core_security_list\" *.tf 2>\u002Fdev\u002Fnull && echo \"  WARNING: Prefer oci_core_network_security_group\" || echo \"  None found\"\n\necho \"\"\necho \"=== Deprecated Python SDK Patterns ===\"\ngrep -rn \"from oci.core import\" *.py 2>\u002Fdev\u002Fnull | grep -v \"ComputeClient\\|VirtualNetworkClient\\|BlockstorageClient\" && echo \"  Check for deprecated imports\" || echo \"  None found\"\ngrep -rn \"wait_for_state\" *.py 2>\u002Fdev\u002Fnull && echo \"  DEPRECATED: Use oci.wait_until() instead\" || echo \"  None found\"\n```\n\n### Step 6: OCI CLI Upgrade\n\n```bash\n# Check current version\noci --version\n\n# Upgrade via pip (OCI CLI is a Python package)\npip install --upgrade oci-cli\n\n# Verify CLI still works after upgrade\noci iam region list --output table && echo \"CLI upgrade: OK\" || echo \"CLI upgrade: FAILED\"\n\n# If CLI breaks, rollback\npip install oci-cli==3.41.0  # Replace with your backup version\n```\n\n### Step 7: Rollback Procedures\n\n**Python SDK rollback:**\n\n```bash\n# Restore pinned version\npip install -r requirements-oci-backup.txt\npip show oci | grep Version\n```\n\n**Terraform provider rollback:**\n\n```bash\n# Restore lock file\ncp .terraform.lock.hcl.backup .terraform.lock.hcl\nterraform init\n\n# Verify state is intact\nterraform plan  # Should show no changes\n```\n\n**Git-level rollback:**\n\n```bash\n# Discard upgrade branch entirely\ngit checkout main\ngit branch -D upgrade\u002Foci-sdk-$(date +%Y%m%d)\n```\n\n## Output\n\nSuccessful completion produces:\n- Version audit showing current OCI SDK, CLI, and Terraform provider versions\n- Breaking change assessment against the known issues table\n- Upgraded Python SDK with all core clients validated (Identity, Compute, Network, Storage, Database, Monitoring)\n- Upgraded Terraform provider with a clean `terraform plan` showing no unexpected resource replacements\n- Deprecation scan results for both Terraform resources and Python SDK patterns\n- Backup files for rollback (`requirements-oci-backup.txt`, `.terraform.lock.hcl.backup`)\n\n## Error Handling\n\n| Error | Code | Cause | Solution |\n|-------|------|-------|----------|\n| `ModuleNotFoundError: oci` | — | SDK uninstalled during upgrade | `pip install oci` — start upgrade process over |\n| Terraform provider crash (segfault) | — | Known provider bug in certain versions | Pin to last known good version (check Terraform registry issues) |\n| `terraform plan` shows unexpected replacements | — | Schema change in provider | Review the plan carefully; use `terraform state mv` if resources were renamed |\n| NotAuthenticated | 401 | SDK upgrade changed auth behavior | Re-validate config: `python3 -c \"import oci; oci.config.validate_config(oci.config.from_file())\"` |\n| CERTIFICATE_VERIFY_FAILED | — | New SDK version uses updated cert bundle | Install `certifi`: `pip install --upgrade certifi` |\n| `terraform init` fails on lock file | — | Lock file hash mismatch after provider upgrade | Delete `.terraform.lock.hcl` and re-run `terraform init` |\n\n## Examples\n\n**Quick version check one-liner:**\n\n```bash\necho \"SDK: $(python3 -c 'import oci; print(oci.__version__)' 2>\u002Fdev\u002Fnull || echo 'not installed')\" && \\\necho \"CLI: $(oci --version 2>\u002Fdev\u002Fnull || echo 'not installed')\" && \\\necho \"TF: $(terraform version -json 2>\u002Fdev\u002Fnull | python3 -c 'import sys,json; d=json.load(sys.stdin); [print(f\"  {k}: {v}\") for k,v in d.get(\"provider_selections\",{}).items()]' || echo 'not installed')\"\n```\n\n**Automated upgrade test script:**\n\n```bash\n#!\u002Fbin\u002Fbash\nset -euo pipefail\necho \"=== OCI Upgrade Test ===\"\npip install --upgrade oci oci-cli\npython3 -c \"\nimport oci\nconfig = oci.config.from_file()\noci.config.validate_config(config)\noci.identity.IdentityClient(config).list_regions()\nprint(f'SDK {oci.__version__}: PASS')\n\"\noci iam region list --output table > \u002Fdev\u002Fnull && echo \"CLI: PASS\" || echo \"CLI: FAIL\"\necho \"=== Done ===\"\n```\n\n## Resources\n\n- [OCI Python SDK Changelog](https:\u002F\u002Fdocs.oracle.com\u002Fen-us\u002Fiaas\u002Ftools\u002Fpython\u002Flatest\u002Fchangelog.html) — version-by-version changes\n- [OCI Terraform Provider Releases](https:\u002F\u002Fregistry.terraform.io\u002Fproviders\u002Foracle\u002Foci\u002Flatest\u002Fdocs) — provider documentation and changelogs\n- [OCI CLI Release Notes](https:\u002F\u002Fdocs.oracle.com\u002Fen-us\u002Fiaas\u002FContent\u002FAPI\u002FConcepts\u002Fcliconcepts.htm) — CLI version history\n- [OCI Python SDK Reference](https:\u002F\u002Fdocs.oracle.com\u002Fen-us\u002Fiaas\u002Ftools\u002Fpython\u002Flatest\u002F) — full API documentation\n- [SDK Troubleshooting](https:\u002F\u002Fdocs.oracle.com\u002Fen-us\u002Fiaas\u002FContent\u002FAPI\u002FConcepts\u002Fsdk_troubleshooting.htm) — common upgrade and connectivity issues\n- [OCI Known Issues](https:\u002F\u002Fdocs.oracle.com\u002Fen-us\u002Fiaas\u002FContent\u002Fknownissues.htm) — platform-known issues affecting SDK\u002Fprovider\n\n## Next Steps\n\nAfter upgrading, run `oraclecloud-prod-checklist` to verify the environment still passes all production checks, or see `oraclecloud-common-errors` for debugging any new error patterns introduced by the upgrade.\n",{"name":5,"tags":24,"author":28,"license":15,"version":29,"description":30,"allowed-tools":31,"compatible-with":32},[25,26,27],"saas","oraclecloud","oci","Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Safely upgrade OCI Python SDK and Terraform provider — version pinning, breaking change detection, and rollback.\nUse when upgrading oci pip packages, updating the Terraform OCI provider, or debugging post-upgrade failures.\nTrigger with \"oraclecloud upgrade\", \"oci sdk upgrade\", \"oci terraform provider update\", \"oci version migration\".\n","Read, Write, Edit, Bash(pip:*), Bash(oci:*), Bash(terraform:*), Bash(python3:*), Grep","claude-code","main","99825ad3f3bcc6597ddcc7294a14e6e922f2b67b","skills\u002Fsaas-packs--oraclecloud-pack--oraclecloud-upgrade-migration",0,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills","https:\u002F\u002Fgithub.com\u002Fjukeyman","https:\u002F\u002FRJBUSINESSSOLUTIONS.ORG","Credit and Finance Expert | Developer\r\n\r\nI'm Rick Jefferson, a seasoned credit and finance expert with over a decade of experience in financial literacy,","2026-07-13 07:03:29",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add jukeyman\u002Fjukeyman-skills --skill oraclecloud-upgrade-migration",{"tool":48,"command":49},"bunx","bunx skills add jukeyman\u002Fjukeyman-skills --skill oraclecloud-upgrade-migration",{"tool":51,"command":52},"pnpm","pnpm dlx skills add jukeyman\u002Fjukeyman-skills --skill oraclecloud-upgrade-migration","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--oraclecloud-pack--oraclecloud-upgrade-migration\u002FSKILL.md",true,[],[57,64,71,78,85,93],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M79ANS2SM329NEP5ZCX106RR","zustand-store-creator","Create zustand store creator operations. Auto-activating skill for Frontend Development.\nTriggers on: zustand store creator, zustand store creator\nPart of the Frontend Development skill category. Use when working with zustand store creator functionality. Trigger with phrases like \"zustand store creator\", \"zustand creator\", \"zustand\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzustand-store-creator\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M79AMZKP4YDEZ7EHG1Y7PP74","zero-trust-config-helper","Configure with zero trust config helper operations. Auto-activating skill for Security Advanced.\nTriggers on: zero trust config helper, zero trust config helper\nPart of the Security Advanced skill category. Use when configuring systems or services. Trigger with phrases like \"zero trust config helper\", \"zero helper\", \"zero\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzero-trust-config-helper\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M79AMJSBCEJQNBTYNAHYN5HM","zapier-integration-helper","Assist with zapier integration helper operations. Auto-activating skill for Business Automation.\nTriggers on: zapier integration helper, zapier integration helper\nPart of the Business Automation skill category. Use when working with APIs or building integrations. Trigger with phrases like \"zapier integration helper\", \"zapier helper\", \"zapier\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzapier-integration-helper\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M79AHJZGVMARS13VFQYRR1MP","yaml-config-validator","Validate yaml config validator operations. Auto-activating skill for DevOps Basics.\nTriggers on: yaml config validator, yaml config validator\nPart of the DevOps Basics skill category. Use when configuring systems or services. Trigger with phrases like \"yaml config validator\", \"yaml validator\", \"yaml\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fyaml-config-validator\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":89,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M79AHGDZRN0020RDQSQDPAM8","xvary-stock-research","Thesis-driven equity analysis from public SEC EDGAR and market data; \u002Fanalyze, \u002Fscore, \u002Fcompare workflows with bundled Python tools (Claude Code, Cursor, Codex).","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M79AHCYJ9FV9RMHQ24HDRN33","xss-vulnerability-scanner","Scan xss vulnerability scanner operations. Auto-activating skill for Security Fundamentals.\nTriggers on: xss vulnerability scanner, xss vulnerability scanner\nPart of the Security Fundamentals skill category. Use when working with xss vulnerability scanner functionality. Trigger with phrases like \"xss vulnerability scanner\", \"xss scanner\", \"xss\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxss-vulnerability-scanner\u002FSKILL.md",[],[]]