Generate production-ready Terraform modules with proper resource structuring, variable validation, output definitions, and state management for any cloud provider.