Skip to main content

MFE-IT

DevOps

Terraform Training Course – Become autonomous: Infrastructure as Code, State and Modules

Terraform Training Course – Become autonomous: Infrastructure as Code, State and Modules
Guaranteed sessions from 1 enrollee  •  No postponement risk except force majeure  •  60% hands-on
Key information
Duration5 day(s) / 35 h
Price2990 € excl. VAT
FormatDistance learning, On-site at your premises
LevelIntermediate
CertifyingNo
TailoredCustomizable programme

Upcoming sessions

19 Fév. 2027
12 Mars 2027
9 Avr. 2027
14 Mai 2027

Would you like to schedule this training on a specific date? Contact us by email or via the contact form.

Description of the training: Terraform Training Course – Become autonomous: Infrastructure as Code, State and Modules
About the Terraform Training Course

This comprehensive five-day training lets you become fully autonomous with HashiCorp Terraform, the reference tool for Infrastructure as Code. From the fundamentals to the most advanced features, you will learn to provision, manage and organise cloud infrastructures in a reproducible and secure way. The programme covers HCL syntax, the full set of CLI commands, local and remote state management, multi-environment workspaces, creating reusable modules and importing existing resources. Each day alternates theory with intensive hands-on practice on a simulated AWS environment with LocalStack, ensuring immediately operational learning. The final day is dedicated to preparing for the HashiCorp Terraform Associate certification and to advanced case studies with various providers (Docker, Kubernetes, Ansible). You may also be interested in our Git Training Course, our GitLab CI/CD Training Course, our Docker Training Course, our GitHub Actions Training Course, our Kubernetes Training Course and our CI/CD DevOps Training Course.

Good to know
Good to know before you enrol

This training prepares you for the HashiCorp Terraform Associate (003) certification. Sitting the exam is not included in the price but can be arranged at the end of the training. Participants need a workstation equipped with Terraform (≥ 1.0), Git (≥ 2.0), Docker (≥ 20.0) and LocalStack (≥ 4.0). For the advanced day-5 case studies, kubectl, minikube and Ansible are also required. Our sessions are guaranteed from a single registrant, with no risk of postponement (except in cases of force majeure). A preliminary discussion takes place between the participant and/or a company representative to fully take into account the participant’s profile (level, needs, professional context, challenges, etc.). Assessment: during the training, the trainer assesses participants’ progress through quizzes, role-play and practical exercises. Participants receive a certificate of completion at the end of the training. This training is part of our DevOps Training Courses catalogue.

Objectives of the training: Terraform Training Course – Become autonomous: Infrastructure as Code, State and Modules
Learning objectives of the Terraform Training Course

By the end of this training, you will be able to:

  • Understand the principles of Infrastructure as Code and the role of Terraform in the DevOps ecosystem
  • Install and configure Terraform on different platforms and master HCL syntax
  • Use the full set of Terraform CLI commands to manage the infrastructure lifecycle
  • Provision a complete AWS infrastructure (VPC, subnets, gateways, routes) with Terraform
  • Manage variables, outputs and data sources to create dynamic configurations
  • Administer the state file (local and remote) and master locking and synchronisation
  • Organise multiple environments with workspaces (dev, staging, prod)
  • Create and consume reusable Terraform modules
  • Import existing resources, debug and use provisioners
  • Prepare effectively for the HashiCorp Terraform Associate certification
Prerequisites of the training: Terraform Training Course – Become autonomous: Infrastructure as Code, State and Modules
Prerequisites for the Terraform Training Course

To get the most out of this training, basic command-line knowledge (Linux, Mac or Windows PowerShell) is recommended, along with fundamental notions of systems and network administration (IP addressing, subnets, DNS). Familiarity with cloud computing is appreciated, ideally with AWS notions. Participants need a workstation equipped with Terraform (≥ 1.0), Git (≥ 2.0), Docker (≥ 20.0) and LocalStack (≥ 4.0).

Target audience of the training: Terraform Training Course – Become autonomous: Infrastructure as Code, State and Modules
Target audience

This training is aimed at the following professionals:

  • DevOps engineers and SREs wanting to automate infrastructure management
  • Systems and network administrators transitioning to the cloud
  • Developers wanting to integrate Infrastructure as Code into their practices
  • Cloud architects looking to standardise deployments
  • Any IT professional preparing for the HashiCorp Terraform Associate certification
Detailed programme of the training: Terraform Training Course – Become autonomous: Infrastructure as Code, State and Modules

Download the programme (PDF)

Day 1 – Terraform fundamentals
  • Terraform – visual guide: principles of Infrastructure as Code, overview of providers and the init → plan → apply → destroy workflow, positioning in the DevOps ecosystem
  • Installation: setup on Windows, Mac and Linux, configuring the full environment (Git, Docker, LocalStack) and local AWS simulation
  • Terminology: glossary of key terms (provider, resource, state, module, workspace, backend), resource lifecycle, configuration files (.tf, .tfvars, .tfstate)
  • Top-level blocks: the 8 fundamental HCL blocks (terraform, provider, resource, variable, output, locals, data, module), syntax and structure
  • CLI commands: full reference (init, validate, fmt, plan, apply, destroy, show, state), best-practice usage
  • Hands-on labs: writing basic HCL blocks and chaining the workflow commands
Day 2 – AWS infrastructure, variables and outputs
  • VPC demonstration: first complete AWS lab with LocalStack, creating a VPC, subnet, internet gateway and route table
  • Terraform resources: detailed syntax, implicit and explicit dependencies (depends_on), full lifecycle (create, read, update, delete)
  • Meta-arguments: count, for_each, depends_on, lifecycle (create_before_destroy, prevent_destroy, ignore_changes)
  • Variables: types (string, number, bool, list, map, object), terraform.tfvars file, environment variables, validation and default values
  • Outputs: declaration, sensitive outputs, sharing values between modules
  • Hands-on labs: deploying a VPC infrastructure, managing interdependent resources, parameterising with variables
Day 3 – Data sources and state management
  • Data sources: querying existing infrastructure (aws_ami, aws_vpc, aws_availability_zones), difference between resource and data, dynamic configurations
  • Terraform state: local vs remote state (S3 + DynamoDB), configuring the remote backend, locking and team work
  • Terraform show: inspecting state and plans, generating and analysing a binary plan file
  • Terraform refresh: synchronising state with the real infrastructure, drift detection, reconciliation strategies
  • Advanced state commands: list, show, mv, rm, pull, push, renaming and removing resources
  • Hands-on labs: configuring a remote backend, analysing execution plans, simulating and fixing drift
Day 4 – Advanced features
  • Workspaces: managing multiple environments (dev, staging, prod) with a single codebase, terraform.workspace and the lookup() function, organisation strategies
  • Terraform modules: creating reusable modules (modules/vpc/ structure), consuming modules, Terraform Registry, versioning best practices
  • Terraform import: importing existing AWS resources into the state, the 6-step import workflow, limits and precautions
  • Debug and logs: TF_LOG log levels (TRACE, DEBUG, INFO, WARN, ERROR), error analysis and diagnosis, log redirection
  • Provisioners: local-exec, file and remote-exec, destroy provisioners, error handling and best practices
  • Hands-on labs: multi-environment deployment, creating and consuming a custom VPC module, importing existing infrastructure
Day 5 – Certification and case studies
  • Certification cheat sheet: complete reference for the HashiCorp Terraform Associate exam, review of commands, concepts, workspaces and modules
  • Exam strategies: practical tips, exam-style exercises (quizzes and scenarios)
  • Case study 1 – Local provider: generating local files with Terraform alone
  • Case study 2 – AWS provider + LocalStack: local AWS simulation with Docker
  • Case study 3 – Docker provider: managing Docker containers via Terraform and Docker Desktop
  • Case study 4 – Kubernetes provider: Kubernetes deployments with minikube
  • Case study 5 – AWS provider + Ansible: combined AWS and Ansible provisioning for full automation
Why choose this training
  • focuses on advanced mastery of Terraform: state, modules and Infrastructure as Code
  • emphasises best practices for industrialising IaC
  • alternates theory, hands-on labs and case studies
  • prepares you to structure and harden a production IaC
FAQ
What is Terraform?

Terraform is an Infrastructure as Code tool developed by HashiCorp. It lets you describe cloud infrastructure (AWS, Azure, GCP, Kubernetes) in declarative files and provision it reproducibly. At MFE-IT it is delivered in a small group and tailored to your context.

Why is the Terraform state so important?

The state is the source of truth that links your code to the real infrastructure. Poorly managed, it leads to drift, accidental destruction and team conflicts. MFE-IT trains you to manage it safely.

What should you know about Terraform modules?

Modules let you reuse infrastructure blocks and enforce standards. MFE-IT trains you to structure your modules, manage their versioning and consume them from the Terraform Registry.

How long is the Terraform training at MFE-IT?

The training lasts 5 days (35 hours), delivered remotely. An intensive format with labs, designed to make teams autonomous with Terraform.