Author a reusable Terraform module the HashiCorp way
何時使用: You want a module that won't get torched in code review.
前置條件
- Server/skill installed and authenticated — See repo README
步驟
-
ScaffoldUse the HashiCorp Terraform skill to scaffold a module for an AWS RDS Postgres with backups and CMK encryption.✓ 已複製→ Module skeleton with variables, outputs, README, examples/
-
ValidateRun tflint and the skill's checklist. Fix anything that fails.✓ 已複製→ Clean tflint + checklist green
結果: Module that matches HashiCorp's published conventions.
注意事項
- Versions drift fast. Re-pull the skill quarterly — Versions drift fast. Re-pull the skill quarterly — provider major versions change argument names.