Terraform
Manage infrastructure as code with Terraform: providers, resources, variables, plans, state and drift, count and for_each, modules, sensitive values, lifecycle rules, refactoring with moved blocks and CI workflows, with every command run on Terraform 1.16.
What you'll learn
- Explain infrastructure as code and run the Terraform init, plan and apply workflow.
- Write Terraform configuration with providers, resources, variables with validation, locals, outputs and functions.
- Read plans to tell create, update, replace and destroy apart, and understand state and drift.
- Create multiple resources with count and for_each, and reuse code with modules.
- Protect secrets and critical resources, and refactor safely with moved blocks.
- Keep Terraform code healthy with fmt, validate, plan files and team workflows.
Syllabus
Infrastructure as Code With Terraform
The Configuration Language
Reading Plans
State and Drift
Multiple Resources and Modules
Secrets and Safety Rails
- Sensitive Values
- Keeping Secrets Out of Code and Safe in State
- prevent_destroy and Other Lifecycle Rules