Image from Amazon Title: Terraform in Actoin
Author(s): Scott Winkler
Amazon wrote:Use Terraform to programmatically create, test, and manage infrastructure using the efficient infrastructure-as-code approach.
In Terraform in Action you will learn:
Cloud architecture with Terraform
Terraform module sharing and the private module registry
Terraform security in a multitenant environment
Strategies for performing blue/green deployments
Refactoring for code maintenance and reusability
Running Terraform at scale
Creating your own Terraform provider
Using Terraform as a continuous development/continuous delivery platform
Terraform in Action introduces the infrastructure-as-code (IaC) model that lets you instantaneously create new components and respond efficiently to changes in demand. You’ll use the Terraform automation tool to design and manage servers that can be provisioned, shared, changed, tested, and deployed with a single command.
“Terraform in Action” starts by comparing Terraform to other tools. The very first examples assumes a bit of AWS knowledge but is understandable. The book uses Terraform 0.15. Don't let the numbering fool you. 1.0.0 was released in summer 2021 and isn't that different. Each chapter ends with both a fireside chat and summary. The summary is the standard Manning bullet points. The fireside chat is textual in nature sometimes containing tables and diagrams to reinforce.
Chapter 2 does an excellent job explaining state. I didn't know you could save the plan as a dot file. That lets you view it in Graphiz to see the graph visually. I'm looking forward to trying out that feature!
As the book goes on, the features get more advanced. Some are specialized like writing your own provider. Others don't apply to everyone but are more common like Terraform Enterprise. It was easy to see which chapters you should read.
This is a good book for learning Terraform or increasing your knowledge