Learn Terraform from zero: HCL, providers, state, variables, modules, loops and CI/CD, then build Docker and AWS infrastructure in hands-on labs.
Tuesday, 11:40 AM. A cloud region is having a bad day, and leadership asks a simple question: "Can we bring the payments stack up in another region...
What are Terraform core, providers and state? Terraform has three parts.
How do you install Terraform? Terraform is a single program with no dependencies. Install it with your system's package manager so updates are easy.
What are blocks, arguments and attributes? HCL is built from three pieces. A block is a container with a type, optional labels and a body in braces.
How do you configure the AWS provider? The terraform block declares which providers you need and which versions are allowed.
How do input variables work? An input variable is a parameter for your configuration, like a function argument.
Tuesday, 11:40 AM. A cloud region is having a bad day, and leadership asks a simple question: "Can we bring the...
What are Terraform core, providers and state? Terraform has three parts.
How do you install Terraform? Terraform is a single program with no dependencies.
What are blocks, arguments and attributes? HCL is built from three pieces.
How do you configure the AWS provider? The terraform block declares which providers you need and which versions are...
How do input variables work? An input variable is a parameter for your configuration, like a function argument.
What is state and why does Terraform need it?
When should you use count? The count meta-argument creates several copies of one resource from a number.
What is a module and why use one? A module is a folder of .tf files that you call with inputs and that returns outputs...
How does the lifecycle block protect resources?
How do you bring existing infrastructure under Terraform?
What does a safe team workflow look like? In a team, nobody runs terraform apply against production from a laptop.
What will you build in these labs? Two labs take you from free and local to real cloud.
How do you fix the most common Terraform errors?
Roles that use the skills in this module.
Infrastructure Engineer
₹7L - ₹16L a year
DevOps Engineer
₹8L - ₹18L a year
Systems Automation Engineer
₹8L - ₹17L a year
Not a software engineer sheet. Every problem comes from real DevOps, SRE, Platform and Cloud interviews, from your first script to a system you build yourself.
Open the Coding SheetThe basics are approachable: you describe resources in readable HCL files and run init, plan and apply. Most people are productive within a few days. The deeper skills, such as state management, modules and safe team workflows, come with practice on real projects.
No. You can learn the full workflow for free with the local, random and Docker providers on your own machine. An AWS free-tier account helps once you want to practise real cloud resources, as long as you run terraform destroy after every session.
Terraform creates and manages infrastructure such as networks, servers and databases, and remembers what it built in a state file. Ansible configures software on machines that already exist, such as installing packages and editing config files. Many teams use Terraform to build servers and Ansible to configure them.
Yes, the Terraform CLI is free to use for your own infrastructure. In 2023 HashiCorp moved it to the Business Source License, which mainly restricts building competing commercial products. OpenTofu is a fully open-source fork with nearly identical syntax if your company prefers that.