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.