Terragrunt - Debugging
When things break, you need to know where to look. We’ll dive into the .terragrunt-cache folder to inspect the generated code and master reading verbose logs to trace errors back to their source in the wrapper or the module.
Terragrunt - Drift Detection
Manual changes are the enemy of IaC. We’ll set up scheduled pipelines that run plan purely to detect drift—alerting you when the real world diverges from your code, so you can remediate unauthorized changes immediately.
Terragrunt - CI/CD Integration
Automate your platform. We’ll design a robust pipeline that runs terragrunt run-all plan on Pull Requests for safety, and apply on merge. We'll also cover caching the .terragrunt-cache folder to speed up build times significantly.
Terragrunt - Immutable Infrastructure
Avoid "it worked on my machine" syndrome. We’ll learn to lock your modules to specific Git tags or commit hashes, ensuring that Production code never changes unexpectedly and that deployments are 100% reproducible every time.
Terragrunt - Scaffold & Catalog
Stop writing boilerplate from scratch. We’ll use the Catalog to browse available modules and the Scaffold command to automatically generate the necessary terragrunt.hcl structure, speeding up the adoption of best practices and standardization.
Terragrunt - Units
Units are the atomic building blocks of a Stack. Learn how to define these individual deployable components—like a VPC or a Database—within a Stack configuration to create modular, repeatable infrastructure patterns that deploy together.
Terragrunt - Implicit vs. Explicit Stacks
Traditional Terragrunt relies on directory structure (Implicit). We'll cover the new Explicit Stacks, where you define the entire deployment graph in a single config, enabling better visibility and easier promotion across environments without traversing folders.
Terragrunt - CLI Flag Management
Stop typing repetitive commands. We’ll use extra_arguments to automatically append flags like -var-file or -lock-timeout to specific commands, reducing human error and ensuring every run uses the correct execution parameters.
Terragrunt - Multiple Includes
Handle complex hierarchies by merging multiple parent configs. We’ll explore how to inherit a global security baseline while simultaneously pulling in environment-specific settings using advanced include strategies to compose final configs.
Terragrunt - Locals & HCL Logic
Terragrunt isn't just static config; it supports full HCL. Learn to use locals to perform calculations, format strings, and manipulate data structures internally, keeping your inputs clean and your configuration logic robust.