Leanpub Header

Skip to main content

Material for HashiCorp Certified: Terraform Associate (003)

The author is letting you choose the price you pay for this book!

Pick Your Price...
PDF
EPUB
WEB
35,369Words
About

About

About the Book

Price

Pick Your Price...

Minimum price

$19.00

$29.00

You pay

$29.00

Author earns

$23.20
$

All prices are in US $. You can pay in US $ or in your local currency when you check out.

EU customers: prices exclude VAT, which is added during checkout.

...Or Buy With Credits!

Number of credits (Minimum 2)

2
The author will earn $24.00 from your purchase!
You can get credits monthly with a Reader Membership

Author

About the Author

Mattias Fjellström

Driven, curious, ambitious.

Mattias is a hands-on engineer with a background in particle accelerator physics, computational methods in mathematics, and web design. He is currently a cloud architect and DevOps consultant focusing on helping organizations reach their full potential.

Mattias is a HashiCorp ambassador and HashiCorp User Group leader in Gothenburg, Sweden. He holds professional-level certifications in both Microsoft Azure and AWS, as well as other certifications including Terraform (associate and professional), Vault, Kubernetes, and GitHub.

You can find out more about Mattias at his blog mattias.engineer.

Contents

Table of Contents

About

  1. Exam objectives
  2. Prerequisites
  3. Exam format
  4. Other exam details

Introduction

  1. Starting out
  2. Installing Terraform
  3. Writing your first Terraform configuration
  4. Working with the Terraform CLI
  5. The Terraform state file
  6. Working with HCP Terraform

1a - Explain what Infrastructure as Code is

  1. Exercises for objective 1a

1b - Describe advantages of IaC patterns

  1. Exercises for objective 1b

2a - Explain multi-cloud and provider-agnostic benefits

  1. Exercises for objective 2a

2b - Explain the benefits of state

  1. Exercises for objective 2b

3a - Install and version Terraform providers

  1. Exercises for 3a

3b - Describe plugin-based architecture

  1. Exercise for objective 3b

3c - Write Terraform configuration using multiple providers

  1. Exercises for objective 3c

3d - Describe how Terraform finds and fetches providers

  1. Exercises for objective 3d

4a - Describe when to use terraform import to import existing infrastructure into your Terraform state

  1. Exercises for objective 4a

4b - Use terraform state to view Terraform state

  1. Exercises for objective 4b

4c - Describe when to enable verbose logging and what the outcome/value is

  1. Exercises for objective 4c

5a - Contrast and use different module source options including the public Terraform Registry

  1. Exercises for objective 5a

5b - Interact with module inputs and outputs

  1. Exercises for objective 5b

5c - Describe variable scope within modules/child modules

  1. Exercises for objective 5c

5d - Set module version

  1. Exercises for objective 5d

6a - Describe Terraform workflow (Write -> Plan -> Create)

  1. Exercises for objective 6a

6b - Initialize a Terraform working directory (terraform init)

  1. Exercises for objective 6b

6c - Validate a Terraform configuration (terraform validate)

  1. Exercises for objective 6c

6d - Generate and review an execution plan for Terraform (terraform plan)

  1. Exercises for objective 6d

6e - Execute changes to infrastructure with Terraform (terraform apply)

  1. Exercises for objective 6e

6f - Destroy Terraform managed infrastructure (terraform destroy)

  1. Exercises for objective 6f

6g - Apply formatting and style adjustments to a configuration (terraform fmt)

  1. Exercises for objective 6g

7a - Describe default local backend

  1. Exercises for objective 7a

7b - Describe state locking

  1. Exercises for objective 7b

7c - Handle backend and cloud integration authentication methods

  1. Exercises for objective 7c

7d - Differentiate remote state backend options

  1. Exercises for objective 7d

7e - Manage resource drift and Terraform state

  1. Exercises for objective 7e

7f - Describe backend block and cloud integration in configuration

  1. Exercises for objective 7f

7g - Understand secret management in state files

  1. Exercises for objective 7g

8a - Demonstrate use of variables and outputs

  1. Exercises for objective 8a

8b - Describe secure secret injection best practice

  1. Exercises for objective 8b

8c - Understand the use of collection and structural types

  1. Exercises for objective 8c

8d - Create and differentiate resource and data configuration

  1. Exercises for objective 8d

8e - Use resource addressing and resource parameters to connect resources together

  1. Exercises for objective 8e

8f - Use HCL and Terraform functions to write configuration

  1. Exercises for objective 8f

8g - Describe built-in dependency management (order of execution based)

  1. Exercises for objective 8g

9a - Explain how HCP Terraform helps to manage infrastructure

  1. Exercises for objective 9a

9b - Describe how HCP Terraform enables collaboration and governance

  1. Exercises for objective 9b

Quiz 1

  1. Quiz 1

Quiz 2

  1. Quiz 2

Quiz 3

  1. Quiz 3

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 $14 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