▬▬▬▬▬▬ ⭐️ GitHub Repo ⭐️ ▬▬▬▬▬▬

https://github.com/rahulwagh/Terraform-Topics.git

Debugging and validation are always a very crucial part of development. Without debugging and validation it is really hard for a developer to do the troubleshooting. In this session we are gonna look at the Terraform debugging and how you can use the debugging for troubleshooting.

To enable the debugging in Terraform you need to set two environment variables -

1. TF_LOG
2. TF_FILE_PATH

In the TF_LOG you can set the log level to - DEBUG, INFO, TRACE, WARN

And in TF_FILE_PATH you set the location of the log file where logs will be saved.

▬▬▬▬▬▬ ⭐️ Time Stamps ⭐️ ▬▬▬▬▬▬
0:00 - Introduction
0:31 - Set environment variables TF_LOG and TF_LOG_PATH
1:04 - Demo on how to generate terraform debug logs
4:52 - How to use terraform validation module

▬▬▬▬▬▬ ⭐️ Follow me ⭐️ ▬▬▬▬▬▬

Instagram - https://www.instagram.com/wagh.rahul17/
Twitter - https://twitter.com/wagh_rahul

To learn more on DevOps visit - https://jhooq.com/

Disclaimer/Policy: All the content/instructions are solely mine. The source is completely open-source.

Video is copyrighted and can not be re-distributed on any platform.