HashiCorp Terraform Certified Associate Preparation Guide
Minimum price
Suggested price

HashiCorp Terraform Certified Associate Preparation Guide

About the Book

Terraform is one of the most popular tools around for managing Infrastructure as Code. HashiCorp, the creators of Terraform, have introduced the Terraform Associate certification to demonstrate that you have the essentials skills and knowledge to leverage Terraform. This book serves as a guide to prepare you for the certification exam. Authors Ned Bellavance and Adin Ermie are real-world practitioners and experienced instructors providing an overview of the certification objectives, detailed examples, and key takeaways to aid you in studying for the exam. Get Terraform, get the guide, and get certified!

About the Authors

Ned Bellavance
Ned Bellavance

Ned is an IT professional with almost 20 years of experience in the field. He has been a helpdesk operator, systems administrator, cloud architect, and product manager. In his newest incarnation, he is the Founder of Ned in the Cloud LLC. As a one-man-tech-juggernaut, he develops courses for Pluralsight, runs a podcast for Packet Pushers, runs a podcast for himself, and creates original content for technology vendors.

Ned has been a Microsoft MVP since 2017 and holds a bunch of industry certifications that have no bearing on anything beyond his exceptional ability to take exams and pass them.

Ned has three guiding principles:

  • Embrace discomfort
  • Fail often
  • Be nice

You can learn more about Ned on his website https://nedinthecloud.com.

Adin Ermie
Adin Ermie

I am an experienced Microsoft Azure Subject Matter Expert, that brings passion and enthusiasm to everything I do.

I focus on emerging technologies and innovation, utilizing my knowledge and insatiable drive for learning of the cutting-edge in cloud operations to help my Clients (and their customers) become market leaders versus trend followers.

I specialize in hybrid-cloud architecture and implementation technologies, including

  • Microsoft Azure
  • Infrastructure-as-a-Service (IaaS) & Platform-as-a-Service (PaaS)
  • Cloud Management & Security
  • Cloud Governance
  • Business Continuity and Disaster Recovery (BCDR)
  • Infrastructure-as-Code (IaC)

Feel free to reach out and connect with me on LinkedIn (https://www.linkedin.com/in/adinermie/), and check out my personal blog (https://adinermie.com).

Table of Contents

  • About the Authors
    • Ned Bellavance
    • Adin Ermie
  • Tech Reviewers
    • Steve Buchanan
  • Exam Overview
    • Setting Expectations
    • Prerequisites
    • Product Version Tested
    • Chapter Summary
  • Exam Objectives
    • High-Level Objectives
    • Chapter Layout
    • Chapter Summary
  • Objective 1: Understand Infrastructure-as-Code (IaC) Concepts
    • 1A: Explain What IaC Is
    • 1B: Describe Advantages of IaC Patterns
    • Chapter Summary
  • Objective 2: Understand Terraform’s Purpose (vs Other IaC)
    • 2A: Explain Multi-Cloud and Provider-Agnostic Benefits
    • 2B: Explain the Benefits of State
    • Chapter Summary
  • Objective 3: Understand Terraform Basics
    • 3A: Handle Terraform and Provider Installation and Versioning
    • 3B: Describe Plugin Based Architecture
    • 3C: Demonstrate Using Multiple Providers
    • 3D: Describe How Terraform Finds and Fetches Providers
    • 3E: Explain When to Use and Not Use Provisioners and When to Use Local-Exec or Remote-Exec
    • Chapter Summary
  • Objective 4: Use the Terraform CLI (Outside of Core Workflow)
    • 4A: Understand the Help Command (terraform help)
    • 4B: Given a Scenario: Choose When to Use Terraform FMT to Format Code
    • 4C: Given a Scenario: Choose When to Use Terraform TAINT to Taint Terraform Resources
    • 4D: Given a Scenario: Choose When to Use Terraform IMPORT to Import Existing Infrastructure into your Terraform State
    • 4E: Given a Scenario: Choose When to Use Terraform WORKSPACE to Create Workspaces
    • 4F: Given a Scenario: Choose When to Use Terraform STATE to View Terraform State
    • 4G: Given a Scenario: Choose When to Enable Verbose Logging and What the Outcome/Value Is
    • Chapter Summary
  • Objective 5: Interact with Terraform Modules
    • 5A: Contrast Module Source Options
    • 5B: Interact with Module Inputs and Outputs
    • 5C: Describe Variable Scope Within Modules/Child Modules
    • 5D: Discover Modules from the Public Module Registry
    • 5E: Defining Module Version
    • Chapter Summary
  • Objective 6: Navigate Terraform Workflow
    • 6A: Describe Terraform workflow ( Write -> Plan -> Create )
    • 6B: Initialize a Terraform Working Directory (terraform init)
    • 6C: Validate a Terraform Configuration (terraform validate)
    • 6D: Generate and Review an Execution Plan for Terraform (terraform plan)
    • 6E: Execute Changes to Infrastructure with Terraform (terraform apply)
    • 6F: Destroy Terraform Managed Infrastructure (terraform destroy)
    • Chapter Summary
  • Objective 7: Implement and Maintain State
    • 7A: Describe Default Local Backend
    • 7B: Outline State Locking
    • 7C: Handle Backend Authentication Methods
    • 7D: Describe Remote State Storage Mechanisms and Supported Standard Backends
    • 7E: Describe Effect of Terraform Refresh on State
    • 7F: Describe Backend Block in Configuration and Best Practices for Partial Configurations
    • 7G: Understand Secret Management in State Files
    • Chapter Summary
  • Objective 8: Read, Generate, and Modify Configuration
    • 8A: Demonstrate Use of Variables and Outputs
    • 8B: Describe Secure Secret Injection Best Practice
    • 8C: Understand the Use of Collection and Structural Types
    • 8D: Create and Differentiate Resource and Data Configuration
    • 8E: Use Resource Addressing and Resource Parameters to Connect Resources Together
    • 8F: Use Terraform Built-In Functions to Write Configuration
    • 8G: Configure Resource Using a Dynamic Block
    • 8H: Describe Built-In Dependency Management (order of execution based)
    • Chapter Summary
  • Objective 9: Understand Terraform Enterprise Capabilities
    • 9A: Describe the Benefits of Sentinel, Registry, and Workspaces
    • 9B: Differentiate OSS and TFE Workspaces
    • 9C: Summarize Features of Terraform Cloud
    • Chapter Summary
  • Conclusion
  • Appendix – Additional Resources
    • Articles
    • Books
    • Pluralsight Courses
    • Hands-On Labs
    • Videos

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.

See full terms

80% Royalties. Earn $16 on a $20 book.

We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.

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

In fact, authors have earned$12,307,240writing, 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