Terramate CLI Explained: Smarter Infrastructure as Code Workflows | Terraform Tuesdays
This sponsored episode of Terraform Tuesdays, we’re diving into how Terramate can revolutionize your Infrastructure as Code (IaC) workflows. Whether you’re managing complex configurations or dealing with sprawling teams, Terramate’s tools are designed to bring order and efficiency to your Terraform (and more). In this first part of a two-part series, I’ll explore the Terramate CLI, focusing on code generation and orchestration. 🛠️ Next time, we’ll take a look at the Terramate Cloud platform and how it integrates with the CLI to supercharge your IaC pipelines. What you’ll learn in this episode: 💡 Why giant IaC configurations (aka "Terraliths") can be an anti-pattern. 🔍 How Terramate helps break configurations into manageable stacks while keeping benefits like shared states. ⚡ A full demo of Terramate CLI—from stack creation to deployment and shared outputs. 🏗️ How Terramate’s Git integration tracks and applies changes efficiently. Key highlights: Terramate doesn’t lock you into its system—it generates regular Terraform files, letting you switch tools as needed. Plus, it supports OpenTofu, Pulumi, and more. With dynamic code generation, dependency management, and CI/CD integration (coming in part 2), Terramate is a game-changer for scaling IaC. Here's the repository for their CLI: https://github.com/terramate-io/terramate Check out the full demo as I transform a monolithic Terraform root module into optimized stacks using Terramate. 🌐 And don't miss the next episode for insights into Terramate Cloud and how it fits into modern DevOps workflows. You can check out the code I'm working with here: https://github.com/ned1313/globomatics-web-stack --- Thanks to Terramate for sponsoring this video and supporting the IaC community! 🎉 Your feedback is invaluable—head to https://teramate.io to try it out and let me know your thoughts in the comments or on LinkedIn. --- 🌮 Timestamps: ⌚ 0:00 Intro ⌚ 0:59 Terralith Problems ⌚ 3:34 Terramate Overview ⌚ 5:23 Original Configuration ⌚ 7:49 Adding Terramate Stacks ⌚ 10:54 Provider Configuration ⌚ 13:22 Backend Configuration ⌚ 15:03 Variable Values ⌚ 17:23 Sharing Outputs ⌚ 21:09 Using the Terramate CLI ⌚ 25:10 Detecting Changes with Git ⌚ 27:33 Terramate Summary ⌚ 29:46 Final Thoughts --- ⭐ 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.
Download
1 formatsVideo Formats
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.