Leanpub Header

Skip to main content

Mastering IaC and Terraform with HashiCorp Certification

Bought separately

$89.97

Minimum price

$69.99

$74.99

You pay

$74.99

Author earns

$59.99
$
You can also buy this bundle with 3 book credits. Get book credits with a Reader Membership or an Organization Membership for your team.
These books have a total suggested price of $89.97. Get them now for only $69.99!
About

About

About the Bundle

This bundle covers the complete Infrastructure as Code landscape using Terraform and OpenTofu. you can start with exploring Terraform development skills, then expand to OpenTofu as the only potential open-source IaC alternative, and finally you can finish with certification preparation for Terraform Associate Exam 004. This bundle is specially curated for DevOps engineers, cloud architects, and platform engineers who want to provision and manage infrastructure programmatically across any cloud or on-premises environment.

Books

About the Books

Terraform for Developers, Second Edition

Essentials of Infrastructure Automation and Provisioning

This is the second edition of the Terraform for Developers book, presenting a thoroughly practical approach to using IaC for robust deployment and maintenance. This latest release is the most updated edition on Terraform, with the latest capabilities, patterns, and hands-on applications. Each chapter breaks down complex ideas into easy-to-follow steps, showing how to deal with the real challenges that come up in modern cloud deployments.

You'll start by learning the basics, like providers, variables, and states. It also highlights some really cool modules, showing how to create, reuse, and share them across projects. Later on, it covers secrets management, showing how to store and handle sensitive data safely. It also covers advanced networking and multi-cloud usage, hurdles in bridging subnets, load balancers, and container orchestration frameworks. It also covers troubleshooting across the syntax, logic, and runtime issues that might occur. And it shows how to incorporate testing, from unit checks on modules to integration scenarios for multi-service environments.

The final chapters cover advanced topics such as customizing workflows with CI/CD pipelines and using test environments. This book won't turn you into a Terraform master overnight, but it will show you all the practical features, patterns, and tricks to improve your infrastructure management.

Key Learnings

  • Discover how Terraform streamlines resource provisioning.
  • Write maintainable modules with confidence.
  • Integrate advanced network constructs, subnets, and routing logic across multi-cloud topologies.
  • Employ ephemeral credentials with Vault dynamic secrets.
  • Automate robust tests, from unit checks to full environment validations.
  • Practical debugging steps for syntax, semantic, and runtime errors.
  • Adopt CI/CD pipelines to unify code reviews and automated deployments.
  • Combine container orchestration solutions with Terraform's consistent state tracking to scale clusters.
  • Structure microservices, security, and multi-environment usage.
  • Track resource utilization, concurrency, and code maintainability across your stack.

Table of Content

  1. Introduction to Terraform and IaC
  2. Getting Started with Terraform
  3. Essentials of Terraform Configuration Language
  4. Terraform Modules and Reusable Infrastructure
  5. Terraform State Management
  6. Provisioners and Provisioning Resources
  7. Working with Secrets
  8. Administering Networks with Terraform
  9. Advanced Topics in Terraform
  10. Administering Terraform As Expert

Infrastructure as Code with OpenTofu

A perfect Terraform alternative to manage compute, storage, networking and other infrastructure resources

This book is a must-have for cloud and DevOps professionals looking to take their infrastructure automation skills to the next level with OpenTofu. It'll give you the hands-on techniques you need to streamline your infrastructure provisioning, deployment, and management, ensuring efficiency and consistency across environments.

This book will take you through the ins and outs of OpenTofu, from setting up the initial configurations to deploying scalable and secure infrastructures. It teaches about how to automatically update infrastructure, how to create resources using loops and conditionals, and how to securely handle sensitive data. It teaches to work with GitHub Actions to improve deployment workflows so you can seamlessly integrate and deploy things. It also covers secret management, dynamic scaling, and integrating third-party tools to take OpenTofu's capabilities a step further.

This book is basically a hands-on guide for folks with experience, showing how to replace old IaC tools with OpenTofu, and it's packed with easy-to-practice examples. By the time you're done, you'll be able to automate complex infrastructure tasks, make sure everything is secure, and use your resources as efficiently as possible. This book is a must for anyone looking to up their infrastructure management game and adopt cutting-edge automation techniques using OpenTofu.

Key Learnings

  • Use OpenTofu's intuitive configurations to automate infrastructure deployments efficiently.
  • Leverage loops and conditionals for scalable, repeatable resource provisioning.
  • Securely manage sensitive data with environment variables and secret management services.
  • Seamlessly integrate OpenTofu with GitHub Actions for streamlined CI/CD pipelines.
  • Implement dynamic scaling strategies to handle varying application loads effectively.
  • Utilize modules to create reusable, maintainable infrastructure components.
  • Automate infrastructure updates to maintain consistency across multiple environments.
  • Replace Terraform with OpenTofu to achieve cost-effective, flexible infrastructure management.

Table of Content

  1. Introduction to OpenTofu and IaC
  2. Hands-on with OpenTofu Configurations
  3. Exploring OpenTofu for Applications
  4. Advanced Resource Management
  5. Reusability with OpenTofu Modules
  6. State Management in OpenTofu
  7. Building and Deploying Apps
  8. Organizing and Managing Workspaces
  9. Importing and Managing Existing Infrastructure
  10. Deploying and Scaling Infrastructure
  11. Advanced Features and Automation

Hashicorp Terraform Associate Certification (Exam 004), Second Edition

Pass terraform certification while you become a proficient Terraform developer to build production-ready infrastructure automation skills

Master Terraform and Ace Your Certification in One Comprehensive Guide

Get ready to become an infrastructure automation expert. This complete study guide prepares you for the HashiCorp Certified Terraform Associate (Exam 004) while building real-world skills that enterprises demand out of Terraform.

Updated edition with Terraform 1.12, this hands-on book takes you from absolute beginner to certification-ready professional through progressive, practical learning. You'll work with live examples on Linux, building actual infrastructure while mastering core concepts.

What You'll Gain:

  • Deep understanding of Infrastructure as Code principles and Terraform's architecture
  • Hands-on experience with the complete Terraform workflow: write, plan, apply
  • Expertise in modules, state management, and advanced configuration patterns
  • Mastery of HCP Terraform for team collaboration and enterprise workflows
  • Two complete 57-question practice exams mirroring real certification difficulty
  • Confidence to manage production infrastructure at scale

No fluff. No theory-only explanations. Every chapter includes code you can runbuilding progressively complex infrastructure. In this book, you'll understand not just how to pass the exam, but how to architect, deploy, and maintain real infrastructure systems. Whether you're a sysadmin modernizing skills, a developer expanding into infrastructure, or an IT professional managing the cloud environment, this book is your roadmap to Terraform mastery and certification success.

Key Learnings
  • Write declarative infrastructure code that provisions cloud resources automatically
  • Master the write-plan-apply workflow for safe, predictable infrastructure changes every time
  • Build reusable Terraform modules that eliminate duplication across multiple environments
  • Manage remote state with locking to enable seamless team collaboration
  • Import existing infrastructure into Terraform management without disrupting running systems
  • Use dynamic blocks and expressions to create flexible, adaptable configuration patterns
  • Protect sensitive data with ephemeral values and write-only arguments
  • Detect and reconcile infrastructure drift between actual resources and configuration
  • Leverage HCP Terraform for remote execution, policy enforcement, and GitOps workflows
  • Refactor configurations safely using moved blocks without destroying production resources

Table of Content
  1. Introduction to Infrastructure as Code
  2. Terraform Fundamentals
  3. Core Terraform Workflow
  4. Resources, Variables, and Outputs
  5. Dynamic Configuration and Dependencies
  6. Managing Sensitive Data
  7. Terraform State and Infrastructure Management
  8. Working with Terraform Modules
  9. HCP Terraform Essentials
  10. Terraform CLI Command Reference
  11. HCL Built-in Functions Quick Reference
  12. Glossary of Key Terms
  13. Mock Exam - 1
  14. Mock Exam - 2

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $15 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub