Skip to main content

12 docs tagged with "infrastructure-as-code"

View all tags

Terraform Core Commands — init, plan, apply, destroy

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.

Terraform Data Sources

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.

Terraform Fundamentals

A complete learning path for Terraform, from installing it and running your first plan to modules, remote state, and troubleshooting drift.

Terraform Input Variables

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.

Terraform Locals

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.

Terraform Outputs

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.

Terraform Project Structure

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.

Terraform Resource Dependencies

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.

Terraform State

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.