Connecting Terraform to AWS
Understand AWS accounts, credentials, and how to verify your connection with aws sts get-caller-identity before running Terraform — in the sandbox and on real AWS.
Understand AWS accounts, credentials, and how to verify your connection with aws sts get-caller-identity before running Terraform — in the sandbox and on real AWS.
A simple, beginner-friendly guide to HCL (HashiCorp Configuration Language) — the building blocks of every Terraform file, with sandbox-ready examples.
This page will cover declarative infrastructure, Terraform resources, state, and modules.Infrastructure as Code (Terraform)
Step-by-step guide to installing Terraform on Windows or macOS, trying it in the HashiCorp Sandbox, or running LocalStack locally to practice safely.
A clear, beginner-friendly walkthrough of the four commands you'll use every time — terraform init, plan, apply, and destroy — with simple examples, a Mermaid flow diagram, and a practice script to try in the sandbox.
A simple, beginner-friendly guide to Terraform data sources — what they are, how they differ from resources, and how to look up existing infrastructure — with sandbox-ready examples.
A complete learning path for Terraform, from installing it and running your first plan to modules, remote state, and troubleshooting drift.
A simple, beginner-friendly guide to Terraform input variables — how to declare them, all the ways to set their values, types, validation, and sensitive variables — with sandbox-ready examples.
A simple, beginner-friendly guide to Terraform locals — what they are, how they differ from variables, and how to use them to avoid repeating code — with sandbox-ready examples.
A simple, beginner-friendly guide to Terraform outputs — how to declare them, view them, mark them sensitive, and share them between modules and projects — with sandbox-ready examples.
A simple, beginner-friendly guide to organizing a Terraform project — standard file names, module folders, and how to separate dev/staging/prod — with sandbox-ready examples.
A simple, beginner-friendly guide to what Terraform providers are, how they get installed, how to pin versions, and how to use multiple providers (like two AWS regions) — with sandbox-ready examples and Mermaid diagrams.
A simple, beginner-friendly guide to how Terraform figures out the order to create resources in — implicit dependencies, depends_on, parallelism, and fixing circular dependencies — with sandbox-ready examples.
A beginner-friendly guide to tags, the prevent_destroy lifecycle rule, why Terraform sometimes replaces instead of updates, and the safe way to rename a bucket — with simple examples, Mermaid diagrams, and a sandbox practice script.
A simple, beginner-friendly guide to Terraform state — the .tfstate file, why it exists, local vs remote state, locking, drift, and the safe state commands — with sandbox-ready examples.