Design reusable Terraform modules with clean variables, outputs, remote state locking, and a sane multi-environment structure.
## CONTEXT Terraform codebases rot quickly: copy-pasted resources, local state files that get clobbered by concurrent applies, hardcoded values scattered across files, and no clear module boundaries. In 2026, durable infrastructure-as-code uses small composable modules with explicit, validated inputs and minimal…
Premium Prompt
Unlock this prompt — and all 25,000+ expert-crafted prompts — with Pro.
Unlock with Pro