Terraform
2 sections tagged Terraform.
Quick note
Quick reference
Questions & answers
Part 15: Terraform Deep Dive
- What is Terraform state and why does it matter
- What is the difference between terraform plan, apply, and import
- What are Terraform modules and how do you structure them
- How does Terraform handle dependencies between resources
- What are Terraform workspaces and when should you use them
- How do you manage secrets in Terraform
- How do you handle state drift and what is terraform refresh
- What happens during terraform init and what does the lock file do
- How do you test Terraform code
- What is the lifecycle meta-argument and when do you use it
- How do you manage multiple environments with Terraform
Part 16: Terraform Fundamentals
- What is Terraform and how does it work
- The HCL language — syntax and types
- The resource block — the core building block
- The variable block — inputs to your configuration
- The output block — exporting values from your configuration
- The locals block — named expressions for reuse
- The data block — reading existing infrastructure
- The provider block — configuring API connections
- The terraform block — backend and version requirements
- count and for_each — creating multiple resources
- Built-in functions — the most useful ones
- How Terraform handles sensitive values