Interview Prep/Terraform/State and Backends in Production

How does Terragrunt handle backends?

IntermediateProductionState and Backends in Production
Answer

Its remote_state block generates a backend.tf per stack from a root template, deriving the key from the folder path (path_relative_to_include()), and can create the bucket automatically. That removes copy-pasted backend blocks across hundreds of stacks. The cost is one more tool and its own upgrade cycle.

All Terraform questions Roadmap: Terraform in production

More on State and Backends in Production