MENU

Fun & Interesting

Using the Terraform Test Framework

Ned in the Cloud 4,435 11 months ago
Video Not Working? Fix It Now

The release of Terraform 1.6 brought with it the general availability of the Terraform Test Framework. This framework allows you to write unit tests for your Terraform modules. In this video, I'll show you how to get started with the Terraform Test Framework. In the video we cover: 🌮 Why is IaC testing necessary? 🌮 The basic syntax of the testing framework 🌮 Building unit and integration tests You can find the blog posts for Mattias here: https://mattias.engineer/blog/2023/terraform-testing-deep-dive/ And here's the link for $5 off my certification guide for the Terraform Associate exam: https://leanpub.com/terraform-certified/c/H2GY58xKD0p1 Thank you so much for watching! Subscribe if you think I’ve earned it. Hit the bell as well if you’re feeling swell.❤️&🌮 ✅🔔 Subscribe ► https://nedinthecloud.com/SubscribeYT ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ 🌮 Other videos to check out: 📽️ Terraform Basics - Modules: https://youtu.be/GSXx8AZjKK4 📽️ Managing Multiple Environments with Terraform: https://youtu.be/YcfWKy8YiLo 📽️ Workload Identity with Terraform Cloud: https://youtu.be/M5hJwl2ewTk ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ 🌮 Timestamps: ⌚ 0:00 Intro ⌚ 1:33 What is IaC Testing? ⌚ 3:58 Three Testing Categories ⌚ 7:05 Terraform Test Framework Overview ⌚ 10:11 Writing a Basic Test ⌚ 15:48 Testing Validation Failures ⌚ 18:58 Writing Integration Tests ⌚ 26:34 Terraform Testing Framework Summary ⌚ 27:29 Final Thoughts ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ #terraform #hashicorp #devops #cloudengineer #azure ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ ⭐ CONNECT WITH ME 🏃🦖 🌐 Day Two Cloud: https://daytwocloud.io 🌐 Chaos Lever: https://chaoslever.com 🌐 Visit my Website ► https://nedinthecloud.com 🗳 Pluralsight ► https://app.pluralsight.com/profile/author/edward-bellavance 🐙 Find the code at GitHub► https://github.com/ned1313 🐧 Twitter ► https://twitter.com/ned1313 👨‍💼 LinkedIn► https://www.linkedin.com/in/ned-bellavance/ For collaboration or any queries: [email protected] ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ 🌮 About Me 🌮 Ned is a curious human with a knack for creating entertaining and informative content. With over 20 years in the industry, Ned brings real-world experience to all his creative endeavours, whether that's pontificating on a podcast, delivering live instruction, writing certification guides, or producing technical training videos. He has been a helpdesk operator, systems administrator, cloud architect, and product manager. In his newest incarnation, Ned is the Founder of Ned in the Cloud LLC. As a one-man-tech juggernaut, he develops courses for Pluralsight, runs two podcasts (Day Two Cloud and Chaos Lever, and creates original content for technology vendors. Ned has been a Microsoft MVP since 2017 and a HashiCorp Ambassador since 2020, and he holds a bunch of industry certifications that have no bearing on anything beyond his exceptional ability to take exams and pass them. When not in front of the camera, keyboard, and microphone, you can find Ned running the scenic trails of Pennsylvania or rocking out to live music in his hometown of Philadelphia. Ned has three guiding principles: Embrace discomfort, Fail often, and Be kind.

Comment