deploy
星标2
分支0
更新时间2026年7月15日 01:54
Deploy or update OCI infrastructure — runs plan and apply
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Deploy or update OCI infrastructure — runs plan and apply
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Scaffold a new OCI Terraform module following project conventions
Open or close a TCP/UDP port on the instance — updates security list and iptables
Interactive setup wizard — walks through OCI configuration with guided questions
Manage SSH access to the OCI instance — open, connect, or close
Show current state of OCI infrastructure — IPs, resources, drift
| name | deploy |
| description | Deploy or update OCI infrastructure — runs plan and apply |
| disable-model-invocation | true |
| allowed-tools | Bash, Read, Grep, Glob |
| argument-hint | [plan|apply|destroy] |
Run the Terraform/OpenTofu workflow for terraform/environments/oci-prod/.
Arguments:
apply: run plan then apply (with user confirmation)plan: preview changes onlydestroy: tear down infrastructure (requires confirmation)terraform/environments/oci-prod/oci-prod.auto.tfvars exists. If not, tell the user to run just setup or copy the example file first..env exists (test -f .env). If missing, tell the user to run ./generate-env.sh. Do NOT read .env contents — a hook blocks this.just init if terraform/environments/oci-prod/.terraform/ doesn't exist.$ARGUMENTS is plan or empty:
just plan$ARGUMENTS is apply or empty:
just apply$ARGUMENTS is destroy:
prevent_destroy on MySQL and object storagejust destroyjust recipes (not raw tofu commands) — just loads .env secrets automatically via set dotenv-load.source .env — the hook blocks this. The just dotenv integration handles it transparently.