[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-93787942-51e6-4aa1-88bb-4b279e952999":3,"$f5f8LUKqJUKZh9I-yxlqBPPdSb4dD7_vr78c9oVMsfn8":43},{"id":4,"title":5,"description":6,"categoryId":7,"moduleId":8,"tags":9,"prompt":10,"icon":11,"source":12,"sourceUrl":13,"authorId":14,"authorName":15,"isPublic":16,"stars":17,"runs":18,"createdAt":19,"updatedAt":19,"module":20,"category":27,"packages":34},"93787942-51e6-4aa1-88bb-4b279e952999","terraform-infrastructure","Terraform云资源配置、创建可重用模块和大规模基础设施管理的代码化工作流程。","cat_coding_devops","mod_coding","sickn33,coding","---\nname: terraform-infrastructure\ndescription: \"Terraform infrastructure as code workflow for provisioning cloud resources, creating reusable modules, and managing infrastructure at scale.\"\ncategory: granular-workflow-bundle\nrisk: safe\nsource: personal\ndate_added: \"2026-02-27\"\n---\n\n# Terraform Infrastructure Workflow\n\n## Overview\n\nSpecialized workflow for infrastructure as code using Terraform including resource provisioning, module creation, state management, and multi-environment deployments.\n\n## When to Use This Workflow\n\nUse this workflow when:\n- Provisioning cloud infrastructure\n- Creating Terraform modules\n- Managing multi-environment infra\n- Implementing IaC best practices\n- Setting up Terraform workflows\n\n## Workflow Phases\n\n### Phase 1: Terraform Setup\n\n#### Skills to Invoke\n- `terraform-skill` - Terraform basics\n- `terraform-specialist` - Advanced Terraform\n\n#### Actions\n1. Initialize Terraform\n2. Configure backend\n3. Set up providers\n4. Configure variables\n5. Create outputs\n\n#### Copy-Paste Prompts\n```\nUse @terraform-skill to set up Terraform project\n```\n\n### Phase 2: Resource Provisioning\n\n#### Skills to Invoke\n- `terraform-module-library` - Terraform modules\n- `cloud-architect` - Cloud architecture\n\n#### Actions\n1. Design infrastructure\n2. Create resource definitions\n3. Configure networking\n4. Set up compute\n5. Add storage\n\n#### Copy-Paste Prompts\n```\nUse @terraform-module-library to provision cloud resources\n```\n\n### Phase 3: Module Creation\n\n#### Skills to Invoke\n- `terraform-module-library` - Module creation\n\n#### Actions\n1. Design module interface\n2. Create module structure\n3. Define variables\u002Foutputs\n4. Add documentation\n5. Test module\n\n#### Copy-Paste Prompts\n```\nUse @terraform-module-library to create reusable Terraform module\n```\n\n### Phase 4: State Management\n\n#### Skills to Invoke\n- `terraform-specialist` - State management\n\n#### Actions\n1. Configure remote backend\n2. Set up state locking\n3. Implement workspaces\n4. Configure state access\n5. Set up backup\n\n#### Copy-Paste Prompts\n```\nUse @terraform-specialist to configure Terraform state\n```\n\n### Phase 5: Multi-Environment\n\n#### Skills to Invoke\n- `terraform-specialist` - Multi-environment\n\n#### Actions\n1. Design environment structure\n2. Create environment configs\n3. Set up variable files\n4. Configure isolation\n5. Test deployments\n\n#### Copy-Paste Prompts\n```\nUse @terraform-specialist to set up multi-environment Terraform\n```\n\n### Phase 6: CI\u002FCD Integration\n\n#### Skills to Invoke\n- `cicd-automation-workflow-automate` - CI\u002FCD\n- `github-actions-templates` - GitHub Actions\n\n#### Actions\n1. Create CI pipeline\n2. Configure plan\u002Fapply\n3. Set up approvals\n4. Add validation\n5. Test pipeline\n\n#### Copy-Paste Prompts\n```\nUse @cicd-automation-workflow-automate to create Terraform CI\u002FCD\n```\n\n### Phase 7: Security\n\n#### Skills to Invoke\n- `secrets-management` - Secrets management\n- `terraform-specialist` - Security\n\n#### Actions\n1. Configure secrets\n2. Set up encryption\n3. Implement policies\n4. Add compliance\n5. Audit access\n\n#### Copy-Paste Prompts\n```\nUse @secrets-management to secure Terraform secrets\n```\n\n## Quality Gates\n\n- [ ] Resources provisioned\n- [ ] Modules working\n- [ ] State configured\n- [ ] Multi-env tested\n- [ ] CI\u002FCD working\n- [ ] Security verified\n\n## Related Workflow Bundles\n\n- `cloud-devops` - Cloud\u002FDevOps\n- `kubernetes-deployment` - Kubernetes\n- `aws-infrastructure` - AWS specific\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n","","imported","https:\u002F\u002Fgithub.com\u002Fsickn33\u002Fantigravity-awesome-skills","user_system_seed","SkillOPIC",true,66,278,"2026-05-16 13:43:36",{"id":8,"name":21,"slug":22,"icon":23,"description":24,"sort":25,"createdAt":26},"编程开发","coding","mdi-code-braces","代码生成、调试、审查，提升开发效率",2,"2026-05-16 12:53:40",{"id":7,"name":28,"slug":29,"icon":30,"description":31,"moduleId":8,"sort":32,"skillCount":33,"createdAt":26},"DevOps","devops","mdi-cog-outline","CI\u002FCD、容器化、部署运维",3,162,[35],{"id":36,"skillId":4,"version":37,"fileName":38,"fileSize":39,"filePath":40,"fileHash":41,"manifest":42,"createdAt":19},"639195a7-784c-4894-b903-91a6d53f5418","1.0.0","terraform-infrastructure.zip",1422,"uploads\u002Fskills\u002F93787942-51e6-4aa1-88bb-4b279e952999\u002Fterraform-infrastructure.zip","c68d2cff038830941f797202404e34ec5ff0a83a01c996b16156e8148dd78c71","[{\"path\":\"SKILL.md\",\"isDirectory\":false,\"size\":3742}]",{"code":44,"message":45,"data":46},200,"success",{"items":47,"stats":48,"page":51},[],{"averageRating":49,"totalRatings":49,"ratingCounts":50},0,[49,49,49,49,49],{"limit":52,"offset":49,"hasMore":53,"nextOffset":52,"ratedOnly":16},15,false]