MENU

Fun & Interesting

Getting Started with Terraform Stacks

Ned in the Cloud 4,257 lượt xem 3 months ago
Video Not Working? Fix It Now

In this episode, we dig into the newly introduced HCP Terraform Stacks—a powerful tool in preview designed to simplify and optimize complex Terraform configurations. We explore how Stacks reimagines the root module by addressing common challenges like managing multiple environments, reducing state bloat, and improving dependency handling.

I'll walk through the foundational concepts of Stacks, including components and deployments, while showcasing how these elements help streamline infrastructure setup. You'll also see a live demo of creating and deploying a Stack within the HashiCorp Cloud Platform (HCP) Terraform, giving you hands-on insights into how this new feature functions.

Whether you're an experienced Terraform user or just getting started, this video offers a comprehensive guide to implementing Stacks for real-world scenarios. I cover essential details—from setting up OIDC-based authentication with Azure to overcoming configuration errors.

🔗 Stacks code: https://github.com/ned1313/tfc-stacks-demo
🔗 OIDC Module: https://registry.terraform.io/modules/ned1313/tfc_oidc/azuread/latest
🔗Terraform Pro Study Guide: https://leanpub.com/terraform-professional-certification

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:21 Setting the Stage for Stacks
⌚ 3:53 Stacks Structure
⌚ 5:15 Stacks Files
⌚ 18:21 Stacks Deployment
⌚ 22:58 Stacks Error!
⌚ 25:44 Using OIDC
⌚ 27:53 Final Thoughts

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
#terraform #hashicorp #devops #cloudengineer #gitops
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
⭐ 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: ned@nedinthecloud.com
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

🌮 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