terraform-infra-ops
操作和更新ops/infra中的Terraform基础设施,包括初始化/应用流程、格式化和代码检查。在修改Cloudflare Pages/R2资源、更新Terraform状态配置或运行基础设施操作时使用。
📖 中文导读:操作和更新ops/infra中的Terraform基础设施,包括初始化/应用流程、格式化和代码检查。在修改Cloudflare Pages/R2资源、更新Terraform状态配置或运行基础设施操作时使用。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: terraform-infra-ops description: Operate and update the Terraform infrastructure in ops/infra, including init/apply flows, formatting, and linting. Use when modifying Cloudflare Pages/R2 resources, updating Terraform state config, or running infra operations.
Terraform Infra Ops
Overview
Apply and maintain the Cloudflare Terraform infrastructure using the repo's documented workflow.
Workflow
- Work from
ops/infraand follow the runbook inops/infra/README.mdfor first-run vs subsequent runs. - Export required backend variables (
AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY,AWS_ENDPOINT_URL_S3) before running Terraform. - Run
terraform fmtandtflinton changes before completion.