terraform
Installation
SKILL.md
Terraform
Plan and import
- Don't run
terraform plandirectly; instead give the command and ask the user to execute it. - NEVER run terraform import manually; use import statements instead.
Variables
- Do not set
nullable = trueon variables; that is the default and is redundant. - Only set
nullable = falsewhen the variable must not be null. - Pass every value explicitly at the call site. Defaults and fallbacks—variable defaults, provider defaults, resource defaults, coalesce/fallback patterns—hide decisions and make behavior opaque. We hate them; use only as a last resort.
Module structure
- Single call per concern: one module call per cohesive concern; merge related pieces into one module.