Make Terraform module inputs harder to misuse
Variable validation is the first guardrail module consumers see. It can reject unsupported environments, invalid names, malformed CIDR ranges, missing tag keys, or version strings before provider APIs return harder-to-read errors.
Keep validations focused on module contracts. Provider limits, security policies, and organization rules should still be tested with terraform validate, plan checks, and CI policy gates.