Terraform Provider Mistake
Find the Mistake Easy
Question
Find the mistake in this Terraform code:
Code
resource "aws_instance" "web" {
ami = "ami-12345"
instance_type = "t2.micro"
}
provider "aws" {
region = "us-east-1"
}
Explanation
The provider block should come before the resource block. While Terraform can sometimes handle this, it's best practice to define providers first.
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.