Terragrunt Deep Dive

Manage AWS Infrastructure for multiple environments using Terragrunt

Terragrunt tool is a thin wrapper around Terraform which will simply the Job of Infrastructure like AWS Cloud etc., when we want to manage multiple environments

What you’ll learn

  • You will be able to understand, how to manage multi environment using Terragrunt.
  • It helps us to maintain more number of environments for AWS target provider.
  • You will be able to handle any target provider with ease.
  • As DevOps Engineer or SRE, we will be able to handle complex Infrastructure by keeping of Terraform code DRY.
  • Terragrunt topic will add a weightage to Carrier and Organizations to do some POC for Clients.
  • You will understand, how to write Terraform configuration files for scenarios like VPC and EKS Cluster in GitHub repository.

Course Content

  • Introduction –> 2 lectures • 5min.
  • Terraform overview –> 2 lectures • 12min.
  • Terragrunt working principle –> 2 lectures • 14min.
  • Terragrunt Core features –> 1 lecture • 19min.
  • Terragrunt Configuration file overview –> 1 lecture • 13min.
  • Overview on Terragrunt Blocks –> 3 lectures • 31min.
  • Overview on Terragrunt Attributes –> 2 lectures • 33min.
  • Terragrunt and Terraform Installation –> 2 lectures • 30min.
  • Introduction to AWS VPC components (Scenario1) –> 2 lectures • 11min.
  • Terraform Config file for AWS VPC Network –> 2 lectures • 1hr.
  • Implement AWS VPC network using Terragrunt –> 2 lectures • 32min.
  • AWS VPC Multi-env management using Terragrunt –> 4 lectures • 1hr 5min.
  • Introduction to EKS Cluster components (Scenario 2) –> 1 lecture • 2min.
  • Implement Terraform configuration file for EKS Cluster –> 3 lectures • 28min.
  • Implement EKS Cluster using Terragrunt –> 2 lectures • 28min.
  • Terragrunt commands and options walkthrough –> 2 lectures • 29min.
  • Conclusion –> 1 lecture • 6min.

Auto Draft


Terragrunt tool is a thin wrapper around Terraform which will simply the Job of Infrastructure like AWS Cloud etc., when we want to manage multiple environments

  1. As DevOps and SRE engineer, we need to manage multiple targets and each target provider will have multiple environments for which it become complex to manage
  2. Writing Terraform Configuration files to store in GitHub
  3. Understanding Terragrunt configuration files for multi-environment infrastructure
  4. Terraform workspace and modules limitations
  5. We will be using AWS Cloud as target provider in this course
  6. We have created two scenarios, VPC network and EKS Cluster with Node Group using modules
  7. Understanding terragrunt blocks and attributes
  8. You need to have some basic understanding on Terraform prior to this course
  9. We will not only talk about Terragrunt configuration files, we have to see from scratch how we need to write Terraform configuration files to keep DRY for Terragrunt for scenarios mentioned above
  10. We can also manage multiple AWS accounts with ease
  11. Terragrunt is opensource tool, which provides flexibility to contribute to the development as well
  12. In terraform configuration files, we will use multiple built-in functions as well to add some logic for resource management
  13. Terragrunt is trying to add more functionalities as well to provide visibility to different target providers not only for AWS specific

Finally we will see all the terragrunt commands to manage and how terraform commands options are inherited by terragrunt cli

Get Tutorial