Packt

Hashicorp Terraform – Introduction to Infrastructure as Code

Save on skills that make you shine with 40% off 3 months of Coursera Plus. Save now

Packt

Hashicorp Terraform – Introduction to Infrastructure as Code

Included with Coursera Plus

Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

2 weeks to complete
at 10 hours a week
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

2 weeks to complete
at 10 hours a week
Flexible schedule
Learn at your own pace

What you'll learn

  • Master the core components and workflows of Terraform for managing cloud infrastructure.

  • Gain hands-on experience with Terraform and OpenTofu, from installation to deployment.

  • Learn best practices for structuring, maintaining, and writing reusable Terraform code.

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

May 2026

Assessments

14 assignments

Taught in English

See how employees at top companies are mastering in-demand skills

 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

There are 13 modules in this course

In this module, we will introduce you to the basics of Terraform, including key concepts, components, and benefits. You will also learn about HashiCorp Configuration Language (HCL) and OpenTofu, which you will use throughout this course.

What's included

6 videos1 reading1 assignment

In this module, we will guide you through the process of preparing your environment for Terraform and OpenTofu. This includes installation steps for various systems, setting up credentials, and configuring your IDE for efficient development.

What's included

9 videos1 assignment

In this module, we will explore how to organize Terraform configuration files effectively. This will help you manage and maintain your infrastructure projects with ease and efficiency.

What's included

1 video1 assignment

In this module, we will dive into Terraform state, explaining its crucial role in managing infrastructure changes and discussing how to securely store state files, both locally and remotely.

What's included

3 videos1 assignment

In this module, we will cover the core Terraform workflow. You will learn to initialize, plan, apply, and destroy infrastructure configurations using essential Terraform commands.

What's included

5 videos1 assignment

In this module, we will introduce the Terraform CLI and demonstrate how to use it effectively for managing infrastructure. You’ll also learn how to maximize your efficiency with advanced CLI techniques.

What's included

5 videos1 assignment

In this module, we will explore the different Terraform block types, including provider, resource, and output blocks, and how they define infrastructure. You'll also learn how to use variables and modules for more flexible code.

What's included

12 videos1 assignment

In this module, we will guide you through writing your first Terraform configuration. You will gain hands-on experience in defining and deploying basic infrastructure with Terraform.

What's included

1 video1 assignment

In this module, we will teach you how to use Terraform's official documentation to find solutions and examples. This will empower you to troubleshoot and enhance your Terraform configurations.

What's included

1 video1 assignment

In this module, we will show you how to enhance your Terraform code for reusability. You'll learn about dynamic values, locals, and meta-arguments to streamline and optimize your Terraform configurations.

What's included

18 videos1 assignment

In this module, we will introduce you to Terraform modules, explaining how they help organize and reuse your code. You'll also learn how to write and use your own modules for standardized, maintainable code.

What's included

4 videos1 assignment

In this module, we will explore how to manage and maintain your Terraform code in the long term. You’ll learn strategies for upgrading resources, targeting specific changes, and importing existing resources.

What's included

4 videos1 assignment

In this final module, we will congratulate you on completing the course and encourage you to apply the knowledge gained to real-world projects. We’ll also provide guidance for continued learning in Terraform and IaC.

What's included

1 video2 assignments

Instructor

Packt - Course Instructors
Packt
1,810 Courses512,664 learners

Offered by

Packt

Why people choose Coursera for their career

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Frequently asked questions