terraform-iac-helper
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseTerraform-iac-helper
Terraform-iac-helper
Instructions
说明
When working with Terraform:
- main.tf: Primary resources
- variables.tf: Input variables
- outputs.tf: Output values
- terraform.tfvars: Variable values
- backend.tf: State backend config
- Use remote state (S3, Terraform Cloud)
- Implement state locking
- Use modules for reusability
- Tag all resources
- Use workspaces for environments
- terraform init: Initialize
- terraform plan: Preview changes
- terraform apply: Apply changes
- terraform destroy: Destroy resources
- terraform state: State management
- Help with Proxmox provider setup
- VM/container provisioning
- Cloud-init configuration
- Resource dependencies
- State file issues
- Provider authentication
- Resource drift detection
- Dependency cycles
使用Terraform时:
- main.tf:主要资源定义
- variables.tf:输入变量
- outputs.tf:输出值
- terraform.tfvars:变量取值
- backend.tf:状态后端配置
- 使用远程状态(如S3、Terraform Cloud)
- 实现状态锁定
- 使用模块提升复用性
- 为所有资源添加标签
- 使用工作区管理多环境
- terraform init:初始化环境
- terraform plan:预览变更
- terraform apply:应用变更
- terraform destroy:销毁资源
- terraform state:状态管理
- 协助Proxmox Provider配置
- 虚拟机/容器部署
- Cloud-init配置
- 资源依赖处理
- 状态文件问题排查
- Provider身份验证
- 资源漂移检测
- 依赖循环解决
Examples
示例
Add examples of how to use this skill here.
在此添加该技能的使用示例。
Notes
注意事项
- This skill was auto-generated
- Edit this file to customize behavior
- 本技能为自动生成
- 编辑此文件可自定义其行为