Choose your language
Terraform Crash Course
More than 2 million learners worldwide

Terraform Crash Course

Master Terraform from first install to production-scale architecture in one focused course. You'll provision real cloud resources, manage state safely, build reusable modules, and automate deployments through CI/CD pipelines. This is the hands-on Terraform training that turns infrastructure chaos into repeatable, version-controlled code.

Dedika for businesses

What you will learn:

You will build a complete Terraform skill set starting with HCL syntax, providers, and the core write-plan-apply workflow. From there, you will tackle state management, remote backends, and workspace isolation for team environments. You will design reusable modules, enforce policies with Sentinel and OPA, and integrate automated testing into your development process. The course also covers CI/CD pipeline design, Terraform Cloud, secrets management, and large-scale codebase architecture. By the end, you will have the practical knowledge to deploy and maintain infrastructure confidently at any scale.

How you study in a practical way Terraform Crash Course

How you practice Terraform Crash Course

For companies who want to train their team

With Dedika for businesses, the course includes exercises and examples tailored to your own business and the way your company needs.

Click here

Course content

8 Chapters • 37 LessonsDuration between 4 and 360 hours (you decide)

Chapter 1See details

Infrastructure as Code and Terraform Fundamentals

  • Lesson 1 • What Is Infrastructure as Code

    Defines IaC, contrasts it with manual provisioning, and explains its operational benefits. Sets the motivation for adopting Terraform throughout the course.

  • Lesson 2 • Core Terraform Workflow

    Introduces the write-plan-apply cycle that governs every Terraform operation. Students run their first end-to-end deployment using a minimal configuration.

  • Lesson 3 • Installing and Configuring Terraform

    Guides students through installing Terraform on major operating systems and verifying the setup. Produces a working local environment for all subsequent labs.

  • Lesson 4 • Terraform's Position in the Ecosystem

    Surveys the IaC tool landscape and identifies where Terraform fits. Students understand Terraform's strengths relative to alternatives.

Chapter 2See details

HashiCorp Configuration Language Essentials

  • Lesson 1 • HCL Syntax and File Structure

    Covers blocks, arguments, identifiers, and file organization conventions. Provides the grammar rules needed to write error-free configurations.

  • Lesson 2 • Meta-Arguments and Iteration

    Covers count, for_each, depends_on, and lifecycle meta-arguments. Students can manage multiple similar resources without duplicating code.

  • Lesson 3 • Local Values and Data Sources

    Introduces locals for intermediate computations and data sources for reading external state. Reduces repetition and connects configurations to live infrastructure.

  • Lesson 4 • Variables and Outputs

    Teaches input variables, output values, and their declaration syntax. Enables parameterized, reusable configurations central to later modules.

  • Lesson 5 • Expressions, Functions, and Operators

    Explores HCL expressions, built-in functions, and conditional logic. Students gain the tools to compute dynamic values inside configurations.

Chapter 3See details

Providers and Resource Management

  • Lesson 1 • Importing Existing Infrastructure

    Teaches terraform import and the newer config-driven import block. Students can bring unmanaged resources under Terraform control.

  • Lesson 2 • Configuring Multiple Providers

    Demonstrates alias-based multi-provider and multi-region setups. Students can target different accounts or regions within a single configuration.

  • Lesson 3 • Resource Lifecycle and Change Management

    Covers how Terraform plans, applies, and destroys resources, including replace and ignore behaviors. Students control infrastructure changes safely.

  • Lesson 4 • Understanding Terraform Providers

    Explains what providers are, how they are versioned, and how Terraform downloads them. Establishes the plugin model underlying all resource operations.

  • Lesson 5 • Resource Block Deep Dive

    Examines resource block anatomy, argument types, and computed attributes. Students understand how Terraform maps HCL to real API calls.

Chapter 4See details

State Management and Backends

  • Lesson 1 • Configuring Remote Backends

    Demonstrates configuring cloud-based backends for shared, durable state storage. Students migrate local state to a remote backend during the lab.

  • Lesson 2 • State Commands and Manipulation

    Covers terraform state subcommands for inspecting, moving, and removing resources. Students can repair state without destroying infrastructure.

  • Lesson 3 • Workspaces for Environment Isolation

    Introduces Terraform workspaces as a lightweight environment-separation mechanism. Students understand when workspaces are appropriate vs. separate configurations.

  • Lesson 4 • Terraform State Fundamentals

    Explains what state is, what it stores, and why it is critical to Terraform operations. Builds the mental model needed for safe state management.

Chapter 5See details

Modules: Reusable Infrastructure Components

  • Lesson 1 • Calling and Composing Modules

    Demonstrates how to call local and registry modules and pass variables between them. Students assemble multi-module configurations in the lab.

  • Lesson 2 • Module Versioning and the Registry

    Covers semantic versioning, version constraints, and the public Terraform Registry. Students pin module versions and evaluate third-party modules critically.

  • Lesson 3 • Building a Reusable Module

    Walks through authoring a production-quality module with variables, outputs, and validation. Students publish a module to a local registry for team use.

  • Lesson 4 • Advanced Module Patterns

    Explores dynamic blocks, module for_each, and optional object attributes for flexible modules. Students handle complex, variable-length infrastructure requirements.

  • Lesson 5 • Module Concepts and Structure

    Defines root vs. child modules and explains the standard module directory layout. Establishes the design principles that make modules maintainable.

Chapter 6See details

Testing, Validation, and Code Quality

  • Lesson 1 • Policy as Code with Sentinel and OPA

    Demonstrates enforcing organizational guardrails using policy-as-code frameworks. Students write policies that block non-compliant plans automatically.

  • Lesson 2 • Static Analysis and Linting

    Introduces terraform validate, tflint, and policy-as-code tools for pre-apply checks. Students catch misconfigurations without provisioning real resources.

  • Lesson 3 • Terraform Native Testing Framework

    Teaches the terraform test command and .tftest.hcl file format introduced in Terraform 1.6. Students write unit and integration tests for modules.

  • Lesson 4 • Built-In Validation Mechanisms

    Covers variable validation blocks, preconditions, and postconditions for runtime checks. Students encode business rules directly into configurations.

Chapter 7See details

CI/CD Integration and Automation

  • Lesson 1 • Pull Request Automation and Drift Detection

    Introduces automated plan comments on pull requests and scheduled drift detection runs. Students close the feedback loop between code review and infrastructure state.

  • Lesson 2 • Terraform Cloud and Remote Execution

    Covers Terraform Cloud's remote run model, VCS integration, and run triggers. Students migrate a local workflow to a managed remote execution environment.

  • Lesson 3 • Automating Plan and Apply in Pipelines

    Demonstrates configuring pipeline jobs to run terraform plan and apply with proper flags. Students produce a working pipeline definition in the lab.

  • Lesson 4 • Pipeline Design Principles for IaC

    Establishes the stages, gates, and approval flows appropriate for infrastructure pipelines. Frames the automation decisions made in subsequent sections.

  • Lesson 5 • Storing and Injecting Secrets Securely

    Covers secrets management strategies for provider credentials and sensitive variables. Students prevent credential leakage in pipeline logs and state files.

Chapter 8See details

Advanced Patterns and Production Readiness

  • Lesson 1 • Upgrading Terraform and Managing Drift

    Guides students through version upgrades, provider updates, and long-term drift management. Students maintain a healthy codebase over its full operational lifetime.

  • Lesson 2 • Dynamic and Complex Expressions

    Covers advanced for expressions, splat operators, and dynamic block generation. Students eliminate repetitive code in complex, data-driven configurations.

  • Lesson 3 • Performance and Parallelism Tuning

    Addresses slow apply times, parallelism settings, and partial apply strategies. Students optimize Terraform runs for large infrastructure graphs.

  • Lesson 4 • Large-Scale Codebase Architecture

    Examines monorepo vs. multi-repo layouts, root module decomposition, and dependency graphs. Students design a folder structure that scales across teams.

  • Lesson 5 • Disaster Recovery and State Resilience

    Covers state backup strategies, recovery from corrupted state, and rollback approaches. Students build operational runbooks for state emergencies.

Certification

Your valid completion certificate

This course is for you:

  • Software developer: wants to own infrastructure instead of depending on ops teams.

  • Systems administrator: ready to replace manual server setup with repeatable automation.

  • DevOps engineer: needs a structured framework to standardize cloud provisioning workflows.

  • Cloud architect: looking to enforce governance and modularity across large-scale environments.

  • Career changer: transitioning from IT support into modern infrastructure engineering roles.

  • Platform engineer: building internal tooling and needs Terraform as a foundational skill.

What our students say

Your classes are perfect. I purchased the one-year package and finally have the opportunity to follow various topics of my interest without needing to change platforms... I thank you for everything you do, I've already recommended you to other people...
Giulio Carlo
Giulio CarloDigital Marketing Student
I like how the lessons are straight to the point and how I can switch chapters and skip content I don't need.
Mariana Ferres
Mariana FerresPhotography Student
I like the content and the way videos are presented and transcribed, which speeds up the process!
Luciana Alvarenga
Luciana AlvarengaNail Design Student
The platform is fast, simple to use. The diversity of content and complementary videos really help with learning.
André Felipe
André FelipePrompt Engineering Student

Top trainings

FAQs

Who is Dedika?

Is the certificate valid in the Philippines?

Are the courses free?

What is the course workload?

What are the courses like?

How do the courses work?

What is the duration of the courses?

What is the cost or price of the courses?

What is an EAD or online course and how does it work?

PDF Course