Terraform debugging and Validation

Terraform debugging and Validation

11.866 Lượt nghe
Terraform debugging and Validation
▬▬▬▬▬▬ 🎉 🔥 Udemy Course - AWS Networking Zero to Hero!🔥 🎉▬▬▬▬▬▬ 🚀 AWS Networking Masterclass! - https://www.udemy.com/course/aws-networking-zero-to-hero-masterclass/?referralCode=9A38DC3CAF2B02863FF5 ▬▬▬▬▬▬ 🎉 🔥 Udemy Course - Master Azure Like a Pro!🔥 🎉▬▬▬▬▬▬ 🚀 Master Azure Like a Pro! - https://www.udemy.com/course/azure-cloud-zero-to-hero/?referralCode=241EFDDC7859120A5175 ▬▬▬▬▬▬ 🙍🏻‍♂️Join YouTube Membership ▬▬▬▬▬▬ Join this channel to get access to perks: https://www.youtube.com/channel/UC7p4oXcPbgk_yTSHK7QlkSg/join ▬▬▬▬▬▬ 🙍🏻‍♂️ Members Only Videos ▬▬▬▬▬▬ Member Only videos - https://www.youtube.com/playlist?list=UUMO7p4oXcPbgk_yTSHK7QlkSg ▬▬▬▬▬▬ 🗓️ Book Me for Consultation ▬▬▬▬▬▬ Calender - https://tidycal.com/rahulwagh17 ▬▬▬▬▬▬ ⭐️ 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.