🚧 Work in Progress 🚧
This book is currently under active development. Some chapters or examples may be incomplete or subject to change.
Check back regularly for updates and improvements.
- Explain multi-cloud and provider-agnostic benefits
- Explain the benefits of state
- Manage Resources in Terraform State
- Install and version Terraform providers
- Describe plugin-based architecture
- Write Terraform configuration using multiple providers
- Describe how Terraform finds and fetches providers
- Describe when to use terraform import to import existing infrastructure into your Terraform state
- Use terraform state to view Terraform state
- Describe when to enable verbose logging and what the outcome/value is
- Contrast and use different module source options including the public Terraform Registry
- Interact with module inputs and outputs
- Describe variable scope within modules/child modules
- Set module version
- Describe Terraform workflow (Write -> Plan -> Create)
- Initialize a Terraform working directory (terraform init)
- Validate a Terraform configuration (terraform validate)
- Generate and review an execution plan for Terraform (terraform plan)
- Execute changes to infrastructure with Terraform (terraform apply)
- Destroy Terraform managed infrastructure (terraform destroy)
- Apply formatting and style adjustments (terraform fmt)
- Describe default local backend
- Describe state locking
- Handle backend and cloud integration authentication methods
- Differentiate remote state backend options
- Manage resource drift and Terraform state
- Describe backend block and cloud integration in configuration
- Understand secret management in state files
- Demonstrate use of variables and outputs
- Describe secure secret injection best practices
- Understand the use of collection and structural types
- Create and differentiate resource and data configuration
- Use resource addressing and resource parameters to connect resources together
- Use HCL and Terraform functions to write configuration
- Describe built-in dependency management (order of execution based)
- Explain how HCP Terraform helps manage infrastructure
- Describe how HCP Terraform enables collaboration and governance
Learn more about the author, including their expertise, background, and professional details, in the authors.md file.
This book is licensed under the Creative Commons Attribution-NonCommercial-NoDerivs 4.0 International License (CC BY-NC-ND 4.0).
You may share this material freely with attribution but may not use it for commercial purposes or distribute modified versions.
For more details, see the full LICENSE.