Terraform contains
Terraform contains checks whether a list, tuple, or set holds a value. This guide covers syntax, examples, and how it differs from strcontains and lookup.
Read moreTerraform count
The Terraform count meta-argument creates multiple resource instances from one block. Learn its syntax, count.index, and its index-shift pitfall.
Read moreTerraform dynamic block
A Terraform dynamic block generates repeated nested blocks from a list or map. See the syntax, a worked example, and common mistakes to avoid.
Read moreTerraform for loop
Learn how a Terraform for loop transforms values, filters elements with an if clause, and prepares maps and lists for real Terraform code.
Read moreTerraform for_each
Terraform for_each turns a map or set into distinct resource instances. See syntax, real examples, common mistakes, and when to use count instead.
Read moreterraform init
Terraform init sets up your working directory: providers, modules, the backend, and the lock file. Here's exactly what it does and when to rerun it.
Read moreTerraform lifecycle ignore_changes
Terraform lifecycle ignore_changes explained: what it does, how to write it, real examples, and when it's a band-aid rather than a fix.
Read moreTerraform map variables
A Terraform map variable pairs string keys with one shared value type. See how to declare, populate, and access one, with real HCL examples.
Read moreTerraform path
Terraform path values (path.module, path.root, path.cwd): what each one returns, a worked example, and the mistake that causes silent overwrites.
Read moreTerraform try
Terraform try catches dynamic errors and returns a fallback value. This guide covers its syntax, examples, common mistakes, and its closest alternatives.
Read moreNo terms match that search.