Terraform 0.13: Key Features and Improvements

Terraform 0.13 introduced long-awaited module improvements that reduce boilerplate.

  • Count/for_each on Modules: Reuse a module multiple times without copy/paste by supplying maps or lists of settings.
  • Provider Dependencies in Modules: Declare required providers inside modules so dependencies install automatically.
  • Custom Validation Rules: Validate input variables with expressions to catch mistakes before apply.

Why It Matters

Infrastructure teams can now scale module usage across environments with less duplication, clearer dependency management, and better guardrails.

Next Steps

  • Read the Terraform 0.13 release notes and plan upgrades in a sandbox.
  • Update modules to specify required_providers and add validation for critical inputs.
  • Run terraform 0.13upgrade and peer-review the generated changes before rolling out widely.