Terraform
- Category
- Infrastructure and DevOps
- Docs outline
- 15 sections
Official docs outline
developer.hashicorp.com- Core Workflow
Write, plan, apply loop, declarative infrastructure as code, and the dependency graph.
- Providers
Provider requirements, configuration, version constraints, aliases, and the lock file.
- Resources
Resource blocks, arguments, attributes, implicit and explicit dependencies, and provisioners.
- Data Sources
Reading existing infrastructure and external information with data blocks.
- Variables, Outputs and Locals
Input variables, types and validation, outputs, local values, and tfvars files.
- Expressions and Functions
References, conditionals, for expressions, dynamic blocks, splat, and built-in functions.
- count, for_each and Lifecycle
Resource repetition with count and for_each, depends_on, and lifecycle rules such as prevent_destroy and ignore_changes.
- Modules
Reusable module composition, module sources, inputs and outputs, and registry modules.
- State
State file purpose, drift, state locking, terraform state commands, and sensitive data in state.
- Backends and Remote State
Remote backends such as S3 or GCS, state locking, and terraform_remote_state.
- Workspaces
Multiple state instances per configuration for environments.
- Import and Refactoring
Import blocks to adopt existing resources and moved blocks to rename or restructure without recreation.
- Sensitive Data
Sensitive variables and outputs, ephemeral values, and secret handling.
- Testing
terraform test, test files, run blocks, assertions, and mock providers.
- HCP Terraform
Remote runs, workspaces, VCS integration, policy as code with Sentinel/OPA, and team access.
Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.