Hands-On Troubleshooting with Terraform

By Jesse Hoch

Learn how to troubleshoot Terraform with this hands-on course.

8 hours
  • 41 Lessons
  • 10 Hands-On Labs
  • 4 Course Quizzes

About the course

Do you want to learn the best practices and tips for writing better Terraform configurations? Do you want to not feel lost when your configuration isn’t quite jiving with what you intended it to do? Then look no further! In this course, we will take your knowledge of Terraform and give you the tools you need to write better, more sound configurations that will lead to easier Terraform maintenance and more efficient troubleshooting.

  • Chapter 1 2 Lessons Introduction 18:48

    Course Introduction

    7:56

    Environment Setup

    10:52
  • Chapter 2 14 Lessons Tips and Tricks 2:28:31

    Tips and Tricks (Introduction)

    2:31

    Use Remote State

    6:15

    Configure a Remote Backend in Terraform

    30:00 Hands-On Lab

    Separate Environments

    4:22

    Use Modules

    5:25

    Create a Custom Terraform Module

    30:00 Hands-On Lab

    Don’t Repeat Yourself

    5:40

    Use Conditionals

    2:33

    Use null_resource

    4:32

    Create a null_resource to use with your Terraform Configuration

    15:00 Hands-On Lab

    Use Functions

    4:07

    Test Your Code

    4:31

    Tips and Tricks (Recap)

    3:35

    Tips and Tricks Section Quiz

    30:00 Quiz
  • Chapter 3 7 Lessons Logging and Debugging 48:01

    Logging and Debugging (Introduction)

    1:04

    How to Configure Debug Logging

    5:09

    Enable Debug Logging for Terraform

    15:00 Hands-On Lab

    How to Use Debug Logging

    3:35

    Debugging Best Practices

    5:59

    Logging and Debugging (Recap)

    2:14

    Logging and Debugging Section Quiz

    15:00 Quiz
  • Chapter 4 8 Lessons Terraform Gotchas 52:45

    Terraform Gotchas (Introduction)

    1:38

    Limitations of count and for_each

    4:33

    Secret Management Gotchas

    14:54

    Refactoring

    7:12

    Valid Plan Failure

    3:54

    Consistency Issues

    3:16

    Terraform Gotchas (Recap)

    2:18

    Terraform Gotchas Section Quiz

    15:00 Quiz
  • Chapter 5 13 Lessons Troubleshooting Common Issues 3:34:02

    Troubleshooting Common Issues (Introduction)

    1:38

    Language Errors

    5:40

    Troubleshooting a Terraform Variable Interpolation Error

    30:00 Hands-On Lab

    Troubleshooting a Terraform Cycle Error

    30:00 Hands-On Lab

    Troubleshooting a Terraform for_each Error

    30:00 Hands-On Lab

    Troubleshooting Terraform Output Errors

    30:00 Hands-On Lab

    State Errors

    3:25

    Troubleshooting a Terraform Locked State File Issue

    30:00 Hands-On Lab

    Troubleshooting a Terraform State Sync Issue

    30:00 Hands-On Lab

    Core Errors

    3:26

    Provider Errors

    2:44

    Troubleshooting Common Issues (Recap)

    2:09

    Troubleshooting Common Errors Section Quiz

    15:00 Quiz
  • Chapter 6 1 Lesson Conclusion 7:59

    Conclusion and What’s Next

    7:59

What are Hands-on Labs

What's the difference between theoretical knowledge and real skills? Practical real-world experience. That's where Hands-on Labs come in! Hands-on Labs are guided, interactive experiences that help you learn and practice real-world scenarios in real cloud environments. Hands-on Labs are seamlessly integrated in courses, so you can learn by doing.

Get Started
Who’s going to be learning?
Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!