Manage secrets with HashiCorp Vault, write dynamic code with conditionals and loops, and master the init → plan → apply workflow.
Secrets Management & Vault
Why secrets must not live in Git, what HashiCorp Vault does, and how AppRole authentication fits automation tools like Terraform.
Set Up Vault with AppRole
Install Vault in dev mode, enable AppRole, create a Terraform role, and store a sample secret in the KV v2 engine.
Terraform + Vault Integration
Configure the Vault provider with AppRole, read KV secrets as data sources, and launch EC2 without hardcoding secrets.
Conditionals, Functions & Loops
Write dynamic Terraform with ternary conditionals, built-in functions, and count / for_each loops.
Terraform Workflow & auto-approve
What happens during init, plan, and apply — plus when -auto-approve belongs in CI and when it is dangerous.
Day 4 Project & Assignment
Practice Vault integration, dynamic Terraform (count/for_each), and multi-environment workspaces.