Terragrunt - Make Your Terraform Code Dry
Published 7/2023
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 1.66 GB | Duration: 5h 28m
Published 7/2023
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 1.66 GB | Duration: 5h 28m
How to make your infrastructure as a code cleaner and easier to maintain with Terraform and Terragrunt
What you'll learn
How to make your Terraform code DRY with Terragrunt
Advanced use cases with Terragrunt
How to handle secrets with Terragrunt
How to better manage resources as a code with a Terraform
Structure your Terraform code
Requirements
Terraform, Linux, Bash, Command line, AWS, Vault
Description
Welcome to my course on Terragrunt!We are going to learn how to maintain our Terraform code in better way. We will focus on how to work on Terragrunt modules, extract common parts for provider, remote state and modules itself. We will start with the basics, understand blocks that we have inside the Terragrunt. We will use some built-in functions. After that we are going to focus on why and how move to the next level, so called DRY approach (Don't repeat yourself approach).We will do live examples for:- Plain terraform (aka dummy modules and environments)- Hashicorp Vault setup- AWS setupI truly believe that with examples in the course and knowledge I'm going to pass over to you - you will be able to apply it to any environments you are currently maintain. Example is this course are related to AWS and Vault, but approaches presented here are relative to any cloud or provider that you are using. Disclamer:This course is not going to learn you how to work with Terraform basics. It learns you how to leverage your Terraform skills with Terragrunt wrapper and Gruntwork team mindset.I hope you will enjoy it and level up your infrastructure as a code!
Overview
Section 1: Introduction
Lecture 1 Why Terragrunt?
Lecture 2 Terragrunt installation
Lecture 3 Multiple version of Terragrunt and Terraform
Lecture 4 Easy switching between versions
Lecture 5 Easy switching between versions - installation demo
Lecture 6 Easy switching between versions - "in action" demo
Lecture 7 Terragrunt - basic setup
Lecture 8 Terragrunt - basic setup demo
Lecture 9 Terragrunt - blocks explained
Lecture 10 Terragrunt - flow
Lecture 11 Materials (Github)
Section 2: Terragrunt DRY (Do not Repeat Yourself) approaches
Lecture 12 Introduction to DRY approaches
Lecture 13 Keep your Terraform DRY
Lecture 14 Keep your Terraform DRY - demo
Lecture 15 Keep your Terraform state configuration DRY
Lecture 16 Keep your Terraform state configuration DRY - demo
Lecture 17 Keep your Terragrunt architecture DRY
Lecture 18 Keep your Terragrunt architecture DRY - another way to include common config
Lecture 19 Keep your Terragrunt architecture DRY - overriding commons
Lecture 20 Keep your Terragrunt architecture DRY - demo
Lecture 21 Keep your Terraform CLI configuration DRY
Lecture 22 Keep your Terraform CLI configuration DRY - demo
Section 3: Terragrunt features
Lecture 23 Terragrunt Cache
Lecture 24 Auto-init
Lecture 25 Terragrunt Hooks
Lecture 26 Formatting
Lecture 27 Dependency (between modules)
Lecture 28 Auto-retry
Lecture 29 Run-all
Section 4: Terragrunt DRY approaches - Vault examples
Lecture 30 Keep your Terraform modules DRY
Lecture 31 Keep your Terraform state DRY
Lecture 32 Keep your Terragrunt Architecture DRY
Lecture 33 Keep your Terragrunt Architecture DRY - overriding configuration
Lecture 34 Keep your Terraform CLI args DRY
Lecture 35 Hooks
Lecture 36 Demo
Section 5: Terragrunt DRY approaches - AWS examples
Lecture 37 Caution on AWS costs
Lecture 38 Setup Introduction
Lecture 39 Keep your Terraform modules DRY
Lecture 40 Keep your Terraform state DRY
Lecture 41 Keep your Terraform provider DRY
Lecture 42 Keep your Terragrunt architecture DRY
Lecture 43 Keep your dependencies DRY
Lecture 44 Deploy your AWS infra with Terragrunt run-all
Terraform and Terragrunt users,Those that manage Infrastructure,Admins, DevOps, Infrastructure Engineers and Developers that manages infrastructure as code