Infrastructure Testing
Terragrunt Mock Inputs and Before/After Hooks: Testing Multi-Environment IaC
Terragrunt makes Terraform DRY — but it adds its own layer of complexity that also needs testing. mock_inputs let you test module configurations without resolving real dependencies. Before/after hooks let you validate state before and after applies. Together, they give you a fast feedback loop for multi-environment infrastructure